How about: ?subset ?t ?as.vector I'm not sure transposing is really needed, but without a workable example as requested in the posting guide (hint, hint), it's hard to say for certain.
Sarah On Tue, Jun 15, 2010 at 1:51 PM, George Coyle <gcoy...@gmail.com> wrote: > Hi All, > > I am trying to turn a Matrix into a vector for analysis purposes. I need to > select only certain columns from the entire matrix for the vector (intraday > time intervals). Also I need to transpose the Matrix (so times are in rows) > stack each successive new column on top of each other (latest at the top > creating one long vector vs a matrix) then reassign the date to the left of > each time (right now date is only shown once by row and will be in columns > when transposed). Any thoughts? > -- Sarah Goslee http://www.functionaldiversity.org ______________________________________________ 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.