Functions that apply expressions to the rows of input objects and return atomic vectors e.g., numeric (double), integer, character, logical.
vapr_chr: Iterate over input rows and return character(s)
vapr_dbl: Iterate over input rows and return numeric(s)
vapr_lgl: Iterate over input rows and return logical(s)
vapr_int: Iterate over input rows and return integer(s)
vapr_chr(.data, .f, ...) vapr_dbl(.data, .f, ...) vapr_lgl(.data, .f, ...) vapr_int(.data, .f, ...)
.data | Input object–must be two-dimensional (e.g., matrix, data.frame) –over which the first dimension (rows) will be iterated |
---|---|
.f | Action to apply to each element of
|
... | Other values passed to function call. |
A character vector
A numeric vector
A logical vector
An integer vector