subset_argument: Subset argument

View source: R/helper.R

subset_argumentR Documentation

Subset argument

Description

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.


ino documentation built on Sept. 29, 2023, 5:09 p.m.