subset_argument: Subset argument
Description
This helper function subsets an argument.
Usage
subset_argument(
argument,
by_row,
how,
proportion,
centers,
ignore,
seed = NULL
)
Value
The subsetted argument.
Arguments
- argument
A vector, matrix, or data.frame.
In case of how = "(dis)similar", it must be numeric.
- by_row, how, proportion, centers, ignore, seed
See documentation of method $reduce() from Nop object.