R/apply_row.R
apply_row.Rd
apply_row()
is a wrapper around apply()
and select()
,
applying a function rowwise, and selecting variables with dplyr::select() syntax.
This makes code slightly less verbose for rowwise operations.
apply_row(x, select_helpers = everything(), FUN, ...)
Data frame or tibble to pass through.
Select variables using dplyr::select() syntax
Function to be applied to selected columns
Additional arguments to the function.