logindex: logical index

Description Usage Arguments Value

View source: R/utils.R

Description

Given a vector of logical booleans, returns the indices of true elements

Usage

1
logindex(bool, ids = 0)

Arguments

bool

is a vector of logical operators

Value

the indices of true elements along the vector 'log'


crumplecup/riparian documentation built on April 14, 2021, 1:43 p.m.