Jane Shevtsov wrote:
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 res
Hi Jean,
I did use a formula and a data frame in creating the rpart model, and the
variable names are quite simple. And rpart is definitely supported.
Best,
Jane
On Tue, May 27, 2014 at 5:44 AM, Adams, Jean wrote:
> Jane,
>
> Page 9 of the reference manual,
> http://cran.r-project.org/web/pac
Jane,
Page 9 of the reference manual,
http://cran.r-project.org/web/packages/plotmo/plotmo.pdf, discusses this
error.
'The work-around is to simplify or standardize the way the model function
is called. Use a formula and a data frame, or at least explicitly name the
variables rather than passing
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
suppo
4 matches
Mail list logo