Hi Amanda,
Sorry for the bit of a slow response (classes and research have been
chaotic). Below are details on what I looked at and a few suggestions
at the end for what you can do.
To the general R community: summary.rpart() makes explicit the default
dropping behavior of `[` which makes me thi
Hi Amanda,
Can you reproduce the error with a small subset of the data? If so,
could you send it to us? For instance if say 20 cases is sufficient,
you could send the output of dput() which pastes easily into the
console:
dput(yourdata[, c("ENROLL_YN", "MINORITY")])
You could also try calling
We are trying to make a decision tree using rpart and we are continually
running into the following error:
> fit_rpart=rpart(ENROLL_YN~MINORITY,method="class")
> summary(fit_rpart)
Call:
rpart(formula = ENROLL_YN ~ MINORITY, method = "class")
n= 5725
CP nsplit rel error
1 0 0 1
3 matches
Mail list logo