powered by
Checks if models have balanced data.
is.balanced(object)
Returns TRUE if balanced, FALSE if not.
fitted model that includes variables attribute and model slot.
variables
model
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)
Run the code above in your browser using DataLab