Learn R Programming

FuzzySTs (version 0.2)

is.balanced: Verifies if a design is balanced

Description

Verifies if a design is balanced

Usage

is.balanced(ni)

Value

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

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.

Examples

Run this code
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