mixVectorsOnLogical: Generates a new vector from two vectors by combining them...

Description Usage Arguments Value

View source: R/misc.R

Description

generates a vector from two vectors depending of the logical value of a third vector

Usage

1
mixVectorsOnLogical(logical, vTrue, vFalse)

Arguments

logical

vector to use to combine the vTrue and vFalse vectors

vTrue

values to return if the logical is true

vFalse

values to return if the logical is false

Value

a new vector with some values from vTrue and some for vFalse


barkasn/nbHelpers documentation built on Oct. 10, 2020, 9:46 p.m.