Hi, I'd like to perform Dufrene-Legendre Indicator Species Analysis for a multivariate regression tree. However I have problems with arguments of duleg(veg,class,numitr=1000)function. How to obtain a vector of numeric class memberships for samples, or a classification object returned from mvpart? thanks in advance -- Best regards, Agnieszka Strzelczak mailto:astrzelczak at ps.pl
Agnieszka, Package 'mvpart' is documented. In this case, ?rpart.object explains *where* in the rpart object is the membership vector. cheers, jari oksanen On Mon, 2005-08-08 at 16:02 +0200, astrzelczak at ps.pl wrote:> Hi, > > I'd like to perform Dufrene-Legendre Indicator Species Analysis for > a multivariate regression tree. However I have problems with arguments > of duleg(veg,class,numitr=1000)function. How to obtain a vector of > numeric class memberships for samples, or a classification object > returned from mvpart?-- Jari Oksanen -- Dept Biology, Univ Oulu, 90014 Oulu, Finland email jari.oksanen at oulu.fi, homepage http://cc.oulu.fi/~jarioksa/
Hello Jari, I've tried to do the analysis this way:> duleg(data.matrix(dane[,9:28]),predict(fit,type="vector"),numitr=1000)Error in "row.names<-.data.frame"(`*tmp*`, value = NULL) : invalid 'row.names' length I haven o idea what's going on with the row names.... cheers :) Agnieszka Tuesday, August 9, 2005, 9:22:36 AM, you wrote:>> Hi, >> >> I'd like to perform Dufrene-Legendre Indicator Species Analysis for >> a multivariate regression tree. However I have problems with arguments >> of duleg(veg,class,numitr=1000)function. How to obtain a vector of >> numeric class memberships for samples, or a classification object >> returned from mvpart?-- Best regards, Agnieszka Strzelczak mailto:astrzelczak at ps.pl