I am trying to use the plotmo package to generate a partial dependence plot
for a CART model created with rpart. When running plotmo, I get "Error:
get.plotmo.y returned the wrong length (got 204938 expected 205000)". The
rpart predict function does indeed return 204938 results, but plotmo is
supposed to be able to handle NA's in rpart models.  What I might do about
this?

Thanks,
Jane

-- 
-------------
Jane Shevtsov, Ph.D.
Mathematical Biology Curriculum Writer, UCLA
co-founder, www.worldbeyondborders.org

“Those who say it cannot be done should not interfere with those who are
doing it.” --attributed to Robert Heinlein, George Bernard Shaw and others

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