Displaying 1 result from an estimated 1 matches for "ine001a01036".
2012 Dec 07
2
Converting character to numeric: Error: (list) object cannot be coerced to type 'double'
Dear R users,
I am facing a pretty a unusual problem while converting character to
numeric. Any input would be appreciated.
Below is the code and error faced:
---------------------------------------
*> str(cmie.dts)*
*'data.frame': 4397 obs. of 1 variable:*
* $ INE001A01036: chr "1482181740.000000" "1482181740.000000"
"1482181740.000000" "1482181740.000000" ...*
*> f1 <- as.numeric(f)*
*Error: (list) object cannot be coerced to type 'double'*
*-----------------------------------------*
*
*
Thanks in advance.
Rega...