Given a numeric object (scalar, vector, matrix or 3-dim array) keeps only the specieifed rows.
apollo_keepRows(v, r)
Numeric scalar, vector, matrix or 3-dim array.
Boolean vector. As many elements as rows in v
. TRUE for keeping the row. FALSE
to drop it.
The same argument v
but with the rows where r==FALSE
removed.