Hello,

When trying to run mvpart either specifying my own parameters or using the
defaults, I get the following error:

Error in all(is.leaf) :
  unused argument(s) (c(FALSE, TRUE, FALSE, FALSE, TRUE, TRUE, TRUE))

As far as I can tell, is.leaf is part of the dendrogam package, so I'm
assuming there's some problem with the graphical parameters. However running
same formula and data through rpart yields no errors, and I don't remember
seeing this when I ran the same data through mvpart a couple years ago. Any
suggestions as to where a solution might lie?

Full output:
> summary(thesis.mvp)
Call:
mvpart(form = bat_sp ~ ., data = alltrees.df, size = 6, xval = 8,
    xvmult = 1000, plot.add = TRUE, text.add = TRUE, all.leaves = TRUE,
    bars = TRUE, legend = TRUE, bord = TRUE, prn = TRUE)
  n= 78

          CP nsplit rel error    xerror      xstd
1 0.23076923      0 1.0000000 1.0000000 0.1132277
2 0.16666667      1 0.7692308 1.0940256 0.1122883
3 0.05128205      3 0.4358974 0.9313077 0.1125267
Error in all(is.leaf) :
  unused argument(s) (c(FALSE, TRUE, FALSE, FALSE, TRUE, TRUE, TRUE))

Thanks in advance,

Joshua Stumpf

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

Reply via email to