is.outlier | R Documentation |
Check outliers
is.outlier(x, m = mean(x, na.rm = T), sdev = sd(x, na.rm = T), t = 3)
x |
numeric vector |
m |
target center of acceptable interval after outlier removal,
default to |
sdev |
target variation of acceptable interval, default to |
t |
scale of deviation, default to 3 |
boolean vector with same length as x
, TRUE
means the corresponding
element in x
is an outlier and is not NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.