search for: inxdata

Displaying 1 result from an estimated 1 matches for "inxdata".

Did you mean: nxdata
2012 Mar 09
1
index values of one matrix to another of a different size
> Hello, > > Is this the fastest way to use indices from one matrix to reference rows > in another smaller matrix? I am dealing with very big data (lots of columns > and I have to do this lots of times). > > ######sample data ############## > vals = matrix(LETTERS[1:9], nrow=3,ncol=3) > colnames(vals) = c('col1','col2','col3') > rownames(vals)