apollo_keepRows: Keeps only some rows

Description Usage Arguments Value

View source: R/apollo_keepRows.R

Description

Given a numeric object (scalar, vector, matrix or 3-dim array) keeps only the specified rows.

Usage

1

Arguments

v

Numeric scalar, vector, matrix or 3-dim array.

r

Boolean vector. As many elements as rows in v. TRUE for keeping the row. FALSE to drop it.

Value

The same argument v but with the rows where r==FALSE removed.


apollo documentation built on July 31, 2021, 5:08 p.m.