Remove or flag outliers in a data frame
1 2 |
.data |
a data frame |
... |
names of the columns to check for outliers |
action |
character string indicating how to deal with outliers, can be
one of |
z |
numeric vector of length two indicating the lower and upper
z-score limits for outlier detection. If only one side should be scanned
use e.g. |
absolute |
numeric vector of length two indicating the absolute lower
and upper limits for outlier detection. If only one side should be scanned
use e.g. |
info |
logical indicating whether to print the number of outliers detected to the console. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.