[R] Data read as labels

barb mainzel89 at hotmail.com
Mon May 14 17:23:14 CEST 2012


Hey David,

thanks for your fast reply, i really appreciate that you answer so many
posts.

Unfortunately it´s not that easy. Try to operate with the output:

e.g
file<-read.csv2(tmp,sep=";",skip="5") 
a<-(relevant<-file[,2][1]) 
a*5
# or 
as.numeric(relevant<-file[,2][1])

a is saved in the workspace as a factor and the values i actually need are
saved as the labels. 
(therefore my subject)

Thank You!

--
View this message in context: http://r.789695.n4.nabble.com/Data-read-as-labels-tp4629901p4629951.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list