Hi there,
I'm new to R and need some help. I have a dataset of 30,000 records with a
response (1/0) indicator resulting in a response rate of 29%. I have 1
categorical predictor variable (gender - M/F) and two continuous variables
("score" and age). When I create an rpart model, I only get one root node
where I know I should get at least 6 based on other tools. I have checked
the forums and most of the instances where this happens is where there are
<50 records which makes sense (low volumes). However, this is not the case
for my dataset. There are no missing values and the predictors are well
distributed. My code is:
fit <- rpart(Responded ~ ., method="class", data=ed)
Am I missing something obvious? Thanks very much...
Rob
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.