Learn R Programming

oclust (version 1.0.0)

simOuts: Simulate Outliers

Description

simOuts generates uniform outliers in each dimension in (min- 2.range, max+ 2.range)

Usage

simOuts(data, alpha, seed = 123)

Value

simOuts returns a data frame with the generated outliers appended to the original data.

Arguments

data

The data in data frame form

alpha

The proportion of outliers to add in terms of the original data size

seed

Set the seed for reproducibility