Displaying 1 result from an estimated 1 matches for "input_df".
Did you mean:
input_dev
2009 Oct 29
2
Recommendation for dealing with mixed input types in CSV
...e above repeated about 30 times column-wise.?
Luckily the ones in scientific notation are grouped together, i.e. columns 11-56.
Using read.csv or as.numeric, is there?a way to convert all those in?scientific format over to?general numeric syntax??
Right now I have something like the following
input_df<-read.csv(InputFile, skip=0, header=TRUE, strip.white = TRUE)
I tried:
as.numeric(input_df[, 11:56])
but this returns an error
Error: (list) object cannot be coerced to type 'double'
Oddly it does appear to work successfully row-wiseas.numeric(input_df[1, 11:56])
as.numeric(input_df[...