Description Usage Arguments Details Value Examples
View source: R/mbecs_analyses.R
A helper function that calculates the collinearity between model variables and stops execution, if the maximum value is bigger than the allowed threshold.
1 | mbecValidateModel(model.fit, colinearityThreshold = 0.999)
|
model.fit |
lm() or lmm() output. |
colinearityThreshold |
Cut-off for model rejection, I=[0,1]. |
ToDo: maybe some additional validation steps and more informative output.
No return values. Stops execution if validation fails.
1 2 3 4 | # This will just go through if colinearity threshold is met.
limimo <- lme4::lmer(dummy.list$cnts[,1] ~ group + (1|batch),
data=dummy.list$meta)
mbecValidateModel(model.fit=limimo, colinearityThreshold=0.999)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.