is.balanced | R Documentation |
Checks if models have balanced data.
is.balanced(object)
object |
fitted model that includes |
Returns TRUE if balanced, FALSE if not.
Kristian Hovde Liland
mixlm <- lm(y~x*r(z),
data = data.frame(y = rnorm(8),
x = factor(c(rep(1,4),rep(0,4))),
z = factor(rep(c(1,0),4))))
is.balanced(mixlm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.