is.balanced function

Balance cheking of models.

Balance cheking of models.

Checks if models have balanced data. latin1

is.balanced(object)

Arguments

  • object: fitted model that includes variables attribute and model slot.

Returns

Returns TRUE if balanced, FALSE if not.

Author(s)

Kristian Hovde Liland

Examples

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)
  • Maintainer: Kristian Hovde Liland
  • License: GPL (>= 2)
  • Last published: 2025-01-14