outlier | R Documentation |
This function takes a dataframe and one argument (i.e. the number of median absolute deviations outside which to assign a particular data point as an outlier).
outlier(data, n = 3)
data |
the data frame for which outliers need to be found |
n |
the number of median absolute deviations from the median outside which to assign a datum as an outlier (default = 3) |
the dataframe with outlier status (1, 0) for all the numerical variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.