Displaying 1 result from an estimated 1 matches for "nicobar".
Did you mean:
escobar
2010 May 26
1
Factor to Numeric
Dear All,
I have a data frame with State and 12 Months as column. I want to convert
all the 12 month column from factor to numeric.
any help will be greatly appreciated.
> str(data)
'data.frame': 33 obs. of 9 variables:
$ State : Factor w/ 33 levels "Andaman and Nicobar Islands",..: 1 2 3 4
5 6 7 8 9 10 ...
$ April : Factor w/ 21 levels "0","1","10","116",..: 2 16 1 1 9 20 1 1 2
21 ...
$ August : Factor w/ 18 levels "0","1","10","125",..: 1 14 1 1 9 3 1 1 2
5 ...
$ Februar...