apply.outlier.mappings: Applies outlier mapping tables

Description Usage Arguments Value Author(s) Examples

View source: R/apply_outlier_mappings.R

Description

Clips outliers by applying mapping tables to respective features. Also creates tracking features to identify which observations had outliers present for specific features.

Usage

1
2
apply.outlier.mappings(data, outlier.mappings, progress = TRUE,
  track.features = TRUE)

Arguments

data

[required | data.frame] Dataset containing features

outlier.mappings

[required | list] Output from function map.outliers

progress

[optional | logical | default=TRUE] Display a progress bar

track.features

[optional | logical | default=TRUE] Creates tracking features that records which observations had outliers present

Value

Data frame with clipped features and all other features

Author(s)

Xander Horn

Examples

1
2
om <- map.outliers(iris, x = names(iris)[1:4])
new_iris <- apply.outlier.mappings(data, om)

XanderHorn/lazy documentation built on Jan. 16, 2021, 6:15 p.m.