[R] subsetting from a vector or matrix

Jim Bouldin jrbouldin at ucdavis.edu
Fri Sep 25 01:45:49 CEST 2009


I realize this should be simple but I'm having trouble subsetting vectors
and matrices, for example extracting all values meeting a certain
criterion, from a vector. Cannot seem to figure out the correct syntax and
help page not very helpful.  Or should I be using some other function than
subset.  Thanks for any help.

Jim Bouldin




More information about the R-help mailing list