getRowIndices: Get row indices of object.

Description Usage Arguments Value

View source: R/util.R

Description

Get row indices of object.

Usage

1
getRowIndices(x, requested = NULL, strict = FALSE)

Arguments

x

An object with rows.

requested

A character vector of row names, a logical vector of length equal to the number of object rows, or a numeric vector of row indices of the input object. If this is specified, only the requested row indices are returned; otherwise, this function returns all row indices.

strict

Option indicating that requested, if specified, must be in the same order as the corresponding rows of the input object.

Value

Integer vector of row indices.


gact/shmootl documentation built on Nov. 11, 2021, 6:23 p.m.