On Fri, 26 Sep 2008, David Scott wrote:
On Thu, 25 Sep 2008, Julian Burgos wrote:
How about something like
my.data=my.data[,4:1]
Julian
This can be tackled in a similar way to the question by Mark Na which I just
answered. Using the same data frame construction we have
df <- data.fram
On Thu, 25 Sep 2008, Julian Burgos wrote:
How about something like
my.data=my.data[,4:1]
Julian
This can be tackled in a similar way to the question by Mark Na which I
just answered. Using the same data frame construction we have
df <- data.frame(k1=1:2,k2=3:4,z=5:6,a=7:8,y=9:10)
df
How about something like
my.data=my.data[,4:1]
Julian
milicic.marko wrote:
Hi,
I have the data.frame with 4 columns. I simply want to invert dataset
so that last row becomes first...
I tried with rev(my_data-frame) but I got my columns inverted... not
my rows
Thanks
__
cuncta stricte discussurus
-
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im
Auftrag von milicic.marko
Gesendet: Thursday, September 25, 2008 5:24 PM
An: r-help@r-project.org
Betreff: [R] Inverting data frame...row wi
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im
Auftrag von milicic.marko
Gesendet: Thursday, September 25, 2008 5:24 PM
An: r-help@r-project.org
Betreff: [R] Inverting data frame...row wise
Hi,
I have the data.frame with 4 columns. I simply want to invert dataset so
that last row becomes first...
I
-
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im
Auftrag von milicic.marko
Gesendet: Thursday, September 25, 2008 5:24 PM
An: r-help@r-project.org
Betreff: [R] Inverting data frame...row wise
Hi,
I have the data.frame with 4 columns. I
Hi,
I have the data.frame with 4 columns. I simply want to invert dataset
so that last row becomes first...
I tried with rev(my_data-frame) but I got my columns inverted... not
my rows
Thanks
__
R-help@r-project.org mailing list
https://stat.ethz.ch/
7 matches
Mail list logo