Displaying 1 result from an estimated 1 matches for "ea17_9_1".
Did you mean:
ea17_6_1
2005 Sep 24
1
rpart Error in yval[, 1] : incorrect number of dimensions
...ried using complete data, but with the same result. Does anyone know what may be going on, and how to fix it? I have traced two similar error messages in the Archive, but following the threads did not make it clear how to fix the problem.
> currwh.rpart<-rpart(formula = CURRWHEE~EA17_6_1 + EA17_9_1 + X087 + X148 + X260 + MOTHERSA + GESTATIO,method="class")
>
> currwh.rpart
n=6783 (2283 observations deleted due to missing)
node), split, n, loss, yval, (yprob)
* denotes terminal node
1) root 6783 720 3 (0.1060002949 0.8938522778 0.0001474274) *
>
> summary(currwh...