?predict.rpart Weidong Gu
On Mon, Aug 8, 2011 at 6:08 PM, Jose Bustos Melo <jbustosm...@yahoo.es> wrote: > Hello Everyone, > > I'm doing a Classification trees with categorical explanatory variables using > library rpart and I would like to do a prediction for some data imputs. I > don't know where's a function or how can I do it?. Is there someone can help > ?? ¿. Here's the code that I'm using. > > library(rpart) > fit <- rpart(Kyphosis ~ Age + Number + Start, data=kyphosis) > plot(fit) > text(fit, use.n=TRUE) > #Someone can help me?? > > I hope someone can help! > Respect, > > José Bustos > [[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. > > ______________________________________________ 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.