Message-ID: <361b63be59.3be59361b6@student.liu.se>
Date: 2001-07-02T09:13:43Z
From: tomsv193@student.liu.se
Subject: problem with levels in dataframes
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._