Re: [R] Reconstruct array dataset

2007-11-21 Thread Julian Burgos
r where do I have to look up? > > thanks alot > > marc > Original-Nachricht >> Datum: Wed, 21 Nov 2007 14:17:41 - >> Von: "Rob Robinson" <[EMAIL PROTECTED]> >> An: "\'marcg\'" <[EMAIL PROTECTED]> >

Re: [R] Reconstruct array dataset

2007-11-21 Thread John Kane
I seem to be missing something. How can you have a rectanglar data.frame of 12* 50 and convert it into 11 * x? 600/11 is not an integer. However leaving that minor detail aside: Let xx be the data.frame that you have read in: yy <- unlist(xx) zz <- t(matrix(yy, nrow=11)) might work. ---

Re: [R] Reconstruct array dataset

2007-11-21 Thread marcg
-Nachricht > Datum: Wed, 21 Nov 2007 14:17:41 - > Von: "Rob Robinson" <[EMAIL PROTECTED]> > An: "\'marcg\'" <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED] > Betreff: RE: [R] Reconstruct array dataset > Can you not read it into a single vec

[R] Reconstruct array dataset

2007-11-21 Thread marcg
Hi there I have an interesting problem: My csv file is of array dimensions [12,50], but it was saved the wrong way: there should be only 11 colums. What happens now if I read it into R is that the whole data set is shifted ( in the first row, the last column contains already the first value of