[R-sig-eco] How to reassemble $components in coleo(ade4)?

Stéphane Dray dray at biomserv.univ-lyon1.fr
Fri Jul 24 16:11:43 CEST 2009


Dear Mark,
data are in the tab component and you can export it. species.names can 
be used as row.names. moda.names corresponds to column names. It 
contains modalities names of fuzzy variables. The name of variables are 
in col.blocks.

e.g.
The first variable (Vegetation) has 4 modalities:

 > coleo$moda.names[1:4]
[1] "Macrophytes"        "Algae"              "Roots_Branches"   
[4] "Detrital_particles"


Hope this helps,
Cheers.





Mark Krueger wrote:
> Dear list,
>
> we are struggling to reassemble the components from the coleo data set 
> in the ade4 package. There are 5 components (tab, species.names, 
> moda.names, families, col.blocks) with different length and class type.
>
> Is there a way to reassemble the $components together to obtain the 
> data as a single matrix which then can be exported, e.g. as .csv or 
> else using write.table()?
>
> Thank you very much for a suggestion.
> Mark
>
> Mark KRUEGER
> Institute for Ecology, Evolution & Diversity
> J.W. Goethe University
> Frankfurt
> Email: krueger at bio.uni-frankfurt.de
>
> _______________________________________________
> R-sig-ecology mailing list
> R-sig-ecology at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
>
>

-- 
Stéphane DRAY (dray at biomserv.univ-lyon1.fr )
Laboratoire BBE-CNRS-UMR-5558, Univ. C. Bernard - Lyon I
43, Bd du 11 Novembre 1918, 69622 Villeurbanne Cedex, France
Tel: 33 4 72 43 27 57       Fax: 33 4 72 43 13 88
http://pbil.univ-lyon1.fr/members/dray/



More information about the R-sig-ecology mailing list