fast_aggregation_check | R Documentation |
Fast aggregation check Compare the observed and modelled aggregated values.
fast_aggregation_check(
object,
grouping_vars,
fun = sum,
remove_na = TRUE,
nsim = 1000
)
## S4 method for signature 'inla'
fast_aggregation_check(
object,
grouping_vars,
fun = sum,
remove_na = TRUE,
nsim = 1000
)
object |
the INLA model |
grouping_vars |
character vector of variable names to group by. |
fun |
function to apply to the aggregated values. |
remove_na |
logical. Indicated whether to remove observations where the response variable is a missing values. |
nsim |
the number of simulation |
Other checks:
dispersion_check()
,
distribution_check()
,
fast_distribution_check()
,
get_anomaly()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.