[R] Matrix to Vector

Arun Horne A.B.Horne at exeter.ac.uk
Tue Jul 1 18:29:37 CEST 2003


I have a matrix of values that I want to convert to a vector, but remove
certain entries in the matrix first, i.e. in the vector I want every value
in the matrix that is greater than 1000. I would also like to find out how
many values are excluded in the transition from matrix to vector. Could
someone tell me how this can be done?

Thank you in advance
Arun Horne

More information about the R-help mailing list