View source: R/model_comparison.R
model_comparison | R Documentation |
Compare models to test for interaction
model_comparison(fit, null = "DLM", x, B, conf.level = 0.95)
fit |
dlim object (must be fit with REML) |
null |
"DLM", "linear" to specify the null model |
x |
exposure |
B |
number of bootstrap samples |
conf.level |
The confidence level (class " |
The function returns a decision to either reject or fail to reject the null model
Type vignette('dlimOverview')
for a detailed description.
dlim
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.