Re: [R] question to define a matrix with some vectors with different lengths

2010-03-02 Thread jim holtman
This is what you would use a 'list' for. On Tue, Mar 2, 2010 at 6:29 AM, wrote: > Hi, > I have some vector v1,v2,...,vk, with different  lengths. I want to > consider these vectors as a matrix with k rows. > Can you please guide me how I can do it? > > Regards > khazaei > > _

Re: [R] question to define a matrix with some vectors with different lengths

2010-03-02 Thread Karl Ove Hufthammer
On Tue, 2 Mar 2010 12:29:28 +0100 (CET) khaz...@ceremade.dauphine.fr wrote: > I have some vector v1,v2,...,vk, with different lengths. I want to > consider these vectors as a matrix with k rows. > Can you please guide me how I can do it? What do you want to do with the missing elements? -- Ka

[R] question to define a matrix with some vectors with different lengths

2010-03-02 Thread khazaei
Hi, I have some vector v1,v2,...,vk, with different lengths. I want to consider these vectors as a matrix with k rows. Can you please guide me how I can do it? Regards khazaei __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r