outliers | R Documentation |
This function identifies outliers from a vector of data at SD units from the mean.
outliers(x, nsd = 3)
x |
a numerical vector of data |
nsd |
the number of SD units from the mean to be used as an outlier cutoff. |
a list object of length three. (1) a vector of sample indexes indicating the outliers, (2) the lower outlier cuttoff value, (3) the upper outlier cuttoff value.
ex_data = rnbinom(500, mu = 40, size = 5) outliers(ex_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.