# row weights in co-inertia

From: Frank Dziock (frank.dziock@ufz.de)
Date: Tue Dec 21 2004 - 13:55:03 MET

• Next message: Stephane Dray: "Re: row weights in co-inertia"

I am trying to perform a co-inertia in ADE-4 with R 2.0.0 based on a Fuzzy CA of 155 species and 11 trait variables with 59 trait categories. The other datatable has 155 species and 37 sites.

FCA was performed on the traits-species table (traits) with traits in columns and species in lines/rows
CA was performed on the transposed species-sites table (artentranspo) with sites in columns and species in lines/rows

######################
blocks <- c(4,11,3,4,3,4,4,7,3,9,7) ##no. of categories per variable
traits <- read.table ("c:/1 Daten/Sachsen-Anhalt/Ergebnisse/Analysen/traits.txt", sep="\t")

artentranspo<-data.frame(t(arten))
ca<-dudi.coa(artentranspo, scan=F, nf=2)
traits2<-prep.fuzzy.var(traits, blocks, row.w=ca\$lw)  ## new FCA with row weights ca\$lw from the CA

fca <- dudi.fca(traits2, scann=F, nf=4)
coinert<-coinertia(fca,ca,scannf=F, nf=4)
plot(coinert)
randtest.coinertia(coinert,nrepet=9999)
######################

In the manual (p. 52) it says that in "dudi" cw are row weights, but this doesnt work for my coinertia, so I took "lw", which is said to be column weights, which I doubt!?

The co-inertia seems to have worked with my data and using ca\$li as row weights, because I got a summary plot.

But in the Monte-Carlo test an error occured "non-equal row weights" with eitther setting "fixed=0" or 1 or 2.

I would be delighted if someone could help me by telling me what is "lw" and "cw" and maybe a hint on what went wrong in the Monte-Carlo test.

With best wishes from sunny Leipzig,

Frank

--

Frank.Dziock@ufz.de

_________________________________________________________________________________________________

Dr. Frank Dziock
Umweltforschungszentrum Leipzig-Halle GmbH - Centre for Environmental Research Leipzig-Halle
Department Naturschutzforschung - Department of Conservation Biology
Permoser Str. 15
D - 04318 Leipzig
Germany

Telefon - Phone           ++49 - 341 235 2533
Fax                              ++49 - 341 235 3191
E-mail                          Frank.Dziock@ufz.de
homepage                    http://www.ufz.de/index.php?de=1897

_________________________________________________________________________________________________

God in his wisdom made the fly, and then forgot to tell us why

This archive was generated by hypermail 2b30 : Tue Dec 21 2004 - 13:57:12 MET