On Wednesday 09 January 2008 1:57 pm, Carla Rebelo wrote: > Hello, > > I' m trying to change the formula in the rpart function. The > format of a general formula is Answer ~ expression, where Answer is > the dependent variable and expression is set of terms containing the > independent variables and separated by operators. I want the response > of the formula is more than one dependent variable. It is possible? > > ______________________________________________ > 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.
You should take a look at package 'mvpart': http://cran.r-project.org/src/contrib/Descriptions/mvpart.html -- Alberto G. Murta IPIMAR - National Institute of Fisheries and Marine Research Avenida de Brasilia s/n; 1449-006 - Lisboa; Portugal Tel: +351 213027000; Fax: +351 21 3015948; email: [EMAIL PROTECTED] ______________________________________________ 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.