apollo_keepRows: Keeps only some rows

View source: R/apollo_keepRows.R

apollo_keepRowsR Documentation

Keeps only some rows

Description

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

Usage

apollo_keepRows(v, r)

Arguments

v

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

r

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

Value

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


apollo documentation built on Oct. 2, 2024, 1:08 a.m.