Re: [R] CoDA DataFrame: Change Column to Row Name [RESOLVED]

2014-06-19 Thread Rich Shepard
On Thu, 19 Jun 2014, Adams, Jean wrote: If your data frame is called df, try row.names(df) <- df$sampdate Jean, Yep. That looks familiar. Many thanks, Rich __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] CoDA DataFrame: Change Column to Row Name

2014-06-19 Thread Adams, Jean
Rich, If your data frame is called df, try row.names(df) <- df$sampdate Jean On Thu, Jun 19, 2014 at 5:07 PM, Rich Shepard wrote: > I recall reading how to do this somewhere, but I cannot find just where I > read it. I have compositional data frames of this format: > > sampdate filter

[R] CoDA DataFrame: Change Column to Row Name

2014-06-19 Thread Rich Shepard
I recall reading how to do this somewhere, but I cannot find just where I read it. I have compositional data frames of this format: sampdate filter gather graze predate shred 1 2000-07-18 0.0550 0.5596 0.0734 0.2294 0.0826 2 2003-07-08 0.0734 0.6147 0.0183 0.2294 0.0642 3 2005-07-13 0.1