Description Usage Arguments Value Examples
Data is removed such that the inner fraction (specified by parameter keeperc
) is kept
1 | remOutliersVec(in.v, keeperc = 0.99, mode = c("both", "left", "right"))
|
keeperc |
Percentage (fraction) of data to keep |
mode |
Specifies where to remove data. The default |
in.dt |
Input vector |
vector without outliers. All columns are preserved.
1 2 3 4 5 6 7 | v = rnorm(1000, 1, 0)
# keep 99% of inner data
remOutliers(v)
# keep 90% of data; data will be removed from the left side of the histogram
remOutliers(v, 0.9, 'left')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.