Displaying 1 result from an estimated 1 matches for "labnumb".
Did you mean:
labnumber
2005 Jun 23
1
Stop Warnings for Invalid Factor Level, NAs generated?
...dataset.
The full code and data is too long to post. The snippet below might
explain what I'm doing somewhat. I'll work up some sample data and code if
no solutions are found.
...snip
> # Get info on first and last pair sets and lab names in last pair
> nlabs <- labdata[["LABNUMBER"]] #e.g. 1, 2, 5, 6, ...
> nolabs <- length(nlabs) #Total number of labs in last pair of labdata
> #dpdata <- labdata[which(labdata[["LABNUMBER"]] == 13),] #Dummy paired
data row
> dpdata <- rbind(labdata[0,], NA)
> pdata <- dpdata
> # Loop through pairs...