is.balanced: Verifies if a design is balanced

View source: R/SEQ_ORDERING_13122018.R

is.balancedR Documentation

Verifies if a design is balanced

Description

Verifies if a design is balanced

Usage

is.balanced(ni)

Arguments

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.

Value

Returns a logical decision TRUE or FALSE, to indicate if a given design is respectively balanced or not.

Examples

data <- matrix(c(1,2,3,2,2,1,1,3,1,2),ncol=1)
ni <- t(table(data))
is.balanced(ni)

FuzzySTs documentation built on Sept. 11, 2024, 8:46 p.m.