Description Usage Arguments Details Value Examples
View source: R/mbecs_analyses.R
Takes a fitted model and computes maximum correlation between covariates as return value. Return value contains actual correlation-matrix as 'vcor' attribute.
1 | colinScore(model.fit)
|
model.fit |
lm() or lmm() output |
ToDo: maybe some additional validation steps and more informative output.
Maximum amount of correlation for given model variables.
1 2 3 4 | # This will return the maximum colinearity score in the given model
limimo <- lme4::lmer(dummy.list$cnts[,1] ~ group + (1|batch),
data=dummy.list$meta)
num.max_corr <- colinScore(model.fit=limimo)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.