[R] ctree - party package multivariate response variables
ehlers at ucalgary.ca
Tue Mar 9 08:07:21 CET 2010
Your description of your data isn't clear to me.
What are the values in column 2, for example?
Are you trying to construct regression or classification trees?
A reproducible example would really help.
On 2010-03-08 20:40, valeriano.parravicini at unige.it wrote:
> I have a problem with ctree of party package.
> I have data on distribution of more than one species (about 50 species) and I
> would like identify the relation of this multivariate object (species
> distribution) with a number of explanatory variables.
> rs is the name of my dataframe containing the species (columns from 2 to 51) and
> the explanatory variables (columns 52 and 53). Rows are my sampling sites.
> I wrote:
> It does not work , but when I use the same formula for the univariate case (i.e.
> a single column - e.g. the total number of species in each samplig sites) it
> works. I know that ctree can handle multivariate response variables, but I
> cannot figure out how to do that.
> Someone can help me?
> Thank you
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
University of Calgary
More information about the R-help