search for: pcrdata

Displaying 1 result from an estimated 1 matches for "pcrdata".

Did you mean: pcdata
2010 Mar 17
3
Converting "factors" to "numeric" in a dataframe
...asic error in my programming or missing something essential (or both!)? I am using R version 2.9.0 at the moment, but this will change as soon as I have sorted this issue out. Below is the code I have put together, as you can see it is VERY brief but essential to allow my analysis to proceed: pcrdata<-read.csv("File_path",header=FALSE) pcrdata<-as.data.frame(t(pcrdata)) pcrdata[2:51]<-as.numeric(as.character(pcrdata)) Any help would be gratefully appreciated, Mike Glanville [[alternative HTML version deleted]]