Thanks. That worked. Chris On 7/19/09 6:41 PM, jim holtman wrote: > Try this: > > >> x >> > y1 y2 y3 y4 > 1 1 0 3 2 > 2 0 1 2 1 > 3 3 2 0 1 > 4 0 5 1 0 > >> as.vector(t(x)) >> > [1] 1 0 3 2 0 1 2 1 3 2 0 1 0 5 1 0 > > > > > On Sun, Jul 19, 2009 at 7:25 PM, Christopher > Desjardins<cddesjard...@gmail.com> wrote: > >> Hi, >> How can I perform the following >> >> y1 y2 y3 y4 >> 1 0 3 2 >> 0 1 2 1 >> 3 2 0 1 >> 0 5 1 0 >> >> into ... >> >> >>> y >>> >> 1 0 3 2 0 1 2 1 3 2 0 1 0 5 1 0 >> >> >> Please cc me on reply as I subscribe to the digest. >> Thanks! >> Chris >> >> ______________________________________________ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> >> > > > >
[[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.