[R] problem with levels in dataframes

tomsv193@student.liu.se tomsv193 at student.liu.se
Mon Jul 2 11:13:43 CEST 2001


Hi!

I am reading from one data.frame and writing to antoher (that is: data-
transfer...). Sometimes the value transferred is NA. I use the 
following line (i and j are well defined!):

protocol$n.adjustments[i]<-protocol.adjustment$n.adjustments[j]

I recieve this warning:
invalid factor level, NAs generated in: [<-.factor(*tmp*, i, value = 0)

What does this mean? The data.frames are read from files (and these 
files are saved with write.table(...,quote=FALSE). 

/Tomas Svensson
WinNT, R 1.2.3



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list