Re: [R] manipulating data of several columns simultaneously

2012-01-18 Thread Jean V Adams
Nerakg wrote on 01/18/2012 04:48:48 AM: > Dear all, > I have a question concerning manipulating data of several columns of a > dataframe at the same time. > I manage to do it for one column (with the use of the specific name for this > column). > In each columns, I have 60 values. But I should r

Re: [R] manipulating data of several columns simultaneously

2012-01-18 Thread Petr Savicky
On Wed, Jan 18, 2012 at 02:48:48AM -0800, Nerak wrote: > Dear all, > I have a question concerning manipulating data of several columns of a > dataframe at the same time. > I manage to do it for one column (with the use of the specific name for this > column). > In each columns, I have 60 values. B

Re: [R] manipulating data of several columns simultaneously

2012-01-18 Thread Gerrit Eichner
Hello, Nerak, maybe rbind( NA, head( results, -1)) does what you want (for all columns at once)? Hth, Gerrit On Wed, 18 Jan 2012, Nerak wrote: Dear all, I have a question concerning manipulating data of several columns of a dataframe at the same time. I manage to do it for one column (wi

[R] manipulating data of several columns simultaneously

2012-01-18 Thread Nerak
Dear all, I have a question concerning manipulating data of several columns of a dataframe at the same time. I manage to do it for one column (with the use of the specific name for this column). In each columns, I have 60 values. But I should reorganize the values (because I created this as an out