Gagnon,Francois [SteFoy] wrote: > Hi, > > I try to compute circular means for a matrix with NAs, but the function > "circ.mean" return only means for lines with complete values and do not > accept "na.omit=T" or "na.rm=T", or "na.action=na.omit", or "na.fail=T". > Also, I try to use "polar.plot" of the package poltrix with the same matrix, > but angles are not display because of many NAs. > Does any one know how what should be the right NA action to get results in > these two cases ? > Hi Francois, For one thing, you should be using radial.plot, as the angles are in radians, not degrees. However, your data shows up a couple of problems with radial.plot that I will fix. I'm currently fixing some minor (I hope) problems with plotrix v2.2-3 and this should turn up on CRAN in the next few days. I'll see if I can get radial.plot to produce the sort of plots you are seeking.
Thanks for finding the problem. Jim ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.