On 15.09.2012 08:29, mandamate1 wrote:> Hi, I am using the bagplot function within the aplpack package and often
get
> this error:
>
> Error in chull(pg[, 1], pg[, 2]) :
> NA/NaN/Inf in foreign function call (arg 2)
>
> Here's an example of data for which this happens:
>
> bagplot(c(-4.66, -2.62, -3.65 ,-3.07 ,-4.91, -4.56 ,-3.79, -3.10, -3.01),
> c(2.14, -7.18, -0.15 , 2.67, -2.49, -0.89 , 0.96 , 0.59, -4.59))
>
> Can anyone help?
If you found a bug in a package, better report to the package maintainer
(hence CCing Peter Wolf).
Best,
Uwe Ligges
>
>
> --
> View this message in context:
http://r.789695.n4.nabble.com/Error-when-using-Bagplot-function-tp4643212.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.
>