powered by
Verifies if a design is balanced
is.balanced(ni)
Returns a logical decision TRUE or FALSE, to indicate if a given design is respectively balanced or not.
a line array given by the contingency table related to the considered variable. Often written as a result of a call of the function table.
data <- matrix(c(1,2,3,2,2,1,1,3,1,2),ncol=1) ni <- t(table(data)) is.balanced(ni)
Run the code above in your browser using DataLab