is.balanced {FuzzySTs} | R Documentation |
Verifies if a design is balanced
is.balanced(ni)
ni |
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. |
Returns a logical decision TRUE or FALSE, to indicate if a given design is respectively balanced or not.
data <- matrix(c(1,2,3,2,2,1,1,3,1,2),ncol=1)
ni <- t(table(data))
is.balanced(ni)