generateOutliers {outqrf} | R Documentation |
Adds Outliers
Description
Adds Outliers
Usage
generateOutliers(data, p = 0.05, sd_factor = 5, seed = NULL)
Arguments
data |
data.frame. |
p |
Proportion of outliers to add to data. |
sd_factor |
Each outlier is generated by shifting the original value by a
realization of a normal random variable with |
seed |
An integer seed. |
Value
data with some outliers.
Examples
generateOutliers(iris, p = 0.05, sd_factor = 5)
[Package outqrf version 1.0.0 Index]