Displaying 1 result from an estimated 1 matches for "maxear".
Did you mean:
mapear
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 w...