[R] vectors of different length in a matrix

From: Marten Winter <marten.winter_at_ufz.de>
Date: Mon 22 Aug 2005 - 22:45:29 EST


HI!

I?ve 3 vectors of different length (a,b,c) and want to arrange them in a matrix a,b,c as rows and the figures of these vectors in the columns (with that matrix i want to calculate a distance between thes vectors - vegan - vegdist - horn). Is there a possibilty to create such a matrix and to fill up the missing fields with NA?s automatically????

Thanx
marten winter

-- 

*Marten Winter*


___________________________________________________________________________________________________________________________________
UFZ - Umweltforschungszentrum Leipzig-Halle GmbH Sektion Biozoenoseforschung Theodor-Lieser-Straße 4 D-06120 Halle (Saale) Centre for Environmental Research (UFZ) Leipzig-Halle Department of Community Ecology Theodor-Lieser-Str. 4 D-06120 Halle (Saale) Germany phone: ++49 (0) 345 558-5316 fax:++49 (0) 345 558-5329 E-mail: Marten.Winter@ufz.de <mailto:Marten.Winter@ufz.de> http://www.halle.ufz.de/bzf/
___________________________________________________________________________________________________________________________________
[[alternative HTML version deleted]]

______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Received on Mon Aug 22 22:49:31 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:55 EST