[R] Error when using Bagplot function

mandamate1 ajshaker at students.latrobe.edu.au
Sat Sep 15 08:29:18 CEST 2012


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?



--
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.



More information about the R-help mailing list