trues: Return vector of equal length containing all TRUEs

Description Usage Arguments Value Examples

Description

Takes a vector and returns a vector of equal length containing all trues (used for selecting all of a given vector)

Usage

1
  trues(vec)

Arguments

vec

any vector (or valid object for length )

Value

a vector of TRUEs of the length of the object passed to it

Examples

1
2
x <- runif(100)
trues(x)

gsk3/taRifx documentation built on May 17, 2019, 8:55 a.m.