search for: chinotomayb

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

2006 Nov 24
1
Sunflower plot error; how to deal with NA
I suspect the problem stems from the fact that there are a couple of NA values. > sunflowerplot(lastoto,maxear) Error in rep.int(i.multi, number[number > 1]) : invalid number of copies in rep.int() So I used the subset command to get rid of the cases with NA hell<-subset(ChinOtoMayB,is.na(lastoto)==FALSE) Then it worked perfectly sunflowerplot(hell$lastoto,hell$maxear) Is there a method with greater finesse to deal with NA values? In correlations one can state use="complete.obs" But that did not work in sunflowerplot -- Farrel Buchinsky [[alternative HTML vers...