Hi David, You need to load the package before running your code:
# install.packages('circular') require(circular) plot(rvonmises(10, circular(0), kappa=1)) arrows.circular(rvonmises(10, circular(0), kappa=1)) arrows.circular(rvonmises(10, circular(0), kappa=1), y=runif(10), col=2) arrows.circular(rvonmises(10, circular(0), kappa=1), y=runif(10), x0=runif(10, -1, 1), y0=runif(10, -1, 1), col=3) HTH, Jorge.- On Fri, Feb 10, 2012 at 11:55 AM, Chosid, David (MISC) <> wrote: > I have started using the circular package but it is not recognizing the > function arrows.circular. I attempted to use the example provided in the > circular manual. Here is the example code using the circular package: > > plot(rvonmises(10, circular(0), kappa=1)) > arrows.circular(rvonmises(10, circular(0), kappa=1)) > arrows.circular(rvonmises(10, circular(0), kappa=1), y=runif(10), col=2) > arrows.circular(rvonmises(10, circular(0), kappa=1), y=runif(10), > x0=runif(10, -1, 1), y0=runif(10, -1, 1), col=3) > > My error is: Error: could not find function "arrows.circular" > > Any help would be greatly appreciated. Thanks. > > David Chosid > Conservation Engineering > MA Division of Marine Fisheries > 1213 Purchase St., 3rd Floor > New Bedford, MA 02740 > 508-990-2860 > david.cho...@state.ma.us<mailto:david.cho...@state.ma.us> > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org 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. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org 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.