View source: R/validation-functions.R
alert_outlier | R Documentation |
univOutl::LocScaleB()
functionGenerate an alert vector based on the univOutl::LocScaleB()
function
alert_outlier(
x,
no_alert_value = NA_real_,
alert_if_larger = no_alert_value,
alert_if_smaller = no_alert_value,
...
)
x |
numeric vector where outliers will be checked |
no_alert_value |
value to put in the output when there is no alert (x is within bounds) |
alert_if_larger |
alert for when x is above the bounds found by |
alert_if_smaller |
alert for when x is below the bounds found by |
... |
arguments for |
a vector of the same lenght as x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.