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.


byu-transpolab/apollo-byu documentation built on Dec. 19, 2021, 12:49 p.m.