trues: Return vector of equal length containing all TRUEs

Description Usage Arguments Value Examples

View source: R/Rfunctions.R

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)

taRifx documentation built on April 14, 2020, 6:27 p.m.

Related to trues in taRifx...