step_hdoutliers: XXXX

Description Usage Arguments Details Value References Examples

View source: R/step_hdoutliers.R

Description

XXX creates a specification of a recipe step that will ....

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
step_hdoutliers(
  recipe,
  ...,
  role = NA,
  trained = FALSE,
  reference_colnames = NULL,
  outlier_bounds = NULL,
  outlier_cutoff_threshold = 0.01,
  k_neighbours = 10,
  knnsearchtype = "brute",
  candidate_proportion = 0.5,
  threshold_sample_size = 50,
  options = list(normalize_method = "none"),
  skip = FALSE,
  id = recipes::rand_id("hdout")
)

Arguments

...

One or more selector functions to choose which variables will be used to compute the components. See selections() for more details. For the tidy method, these are not currently used.

role

For model terms created by this step, what analysis role should they be assigned?. By default, the function assumes that the new principal component columns created by the original variables will be used as predictors in a model.

options

A list of options to the default method for XXXX.

prefix

A character string that will be the prefix to the resulting new variables.

ref_dist

placeholder

Details

Some text here

Value

An updated version of recipe with the new step added to the sequence of existing steps (if any). For the tidy method, a tibble with columns terms (the selectors or variables selected), value (the loading), and component.

References

Add reference

Examples

1
x <- 1

mattsq/straystep documentation built on Sept. 27, 2020, 8:26 a.m.