Re: [R] Function for translation of a list into a matrix as used by ordination?

2008-01-28 Thread Billy_Schweiger
Thanks for all who commented on this question. It turns out that there is a nice set of functions in library BiodiversityR that translate a stack or list input data file to a community matrix: import.from.Excel(file = file.choose(), sheet = "community", sitenames = "sites", column = "species"

[R] Function for translation of a list into a matrix as used by ordination?

2008-01-25 Thread Billy_Schweiger
Hello. Does anyone know of an existing function that takes a list in the form of: Plot1 Species1Abundance1 Plot1 Species2Abundance2 Plot2 Species1Abundance1 Plot2 Species3Abundance3 . . . PlotN SpeciesNAbundanceN and translates into a matrix in the form of Species1