I am importing csv data to R using
data <- read.csv(file="file_name.csv")
This data has 9 columns and 5000 rows and data values are real number. Now I want to use this data as a data frame. But the first columns occurs with some levels. I don't want this levels.
Here is a sample data in .csv format
Could any one please help me to remove the levels from the first column after it is imported to R.
Here is my attempt:
data$col_1 = as.numeric(as.character(data$col_1))
But it showing warning:
Warning message:
NAs introduced by coercion