Skip to contents

This helper function subsets an argument.

Usage

subset_argument(
  argument,
  by_row,
  how,
  proportion,
  centers,
  ignore,
  seed = NULL
)

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.

Value

The subsetted argument.