get_anomaly | R Documentation |
Get the anomalies from a model
get_anomaly(analysis, ...)
## S4 method for signature 'n2kInla'
get_anomaly(
analysis,
n = 20,
expected_ratio = 5,
expected_absent = 5,
random_threshold = 1.05,
verbose = TRUE,
...
)
## S4 method for signature 'n2kModel'
get_anomaly(analysis, verbose = TRUE, ...)
analysis |
The model to add |
... |
Extra options. See details. |
n |
the number of anomalies per category. |
expected_ratio |
Observations that have
|
expected_absent |
Zero observations where |
random_threshold |
The minimal relative effect size of a random effect. Random effect with a smaller effect size will never be an anomaly. Defaults to 1.05 (5%). |
verbose |
Print extra information on the screen |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.