rankA {ThurMod}R Documentation

Determine the rank of the design matrix defined by the blocks.

Description

This function determines the rank of the fundamental design matrix defined by the blocks.

Usage

rankA(blocks)

Arguments

blocks

A matrix defining the blocks of the model. The number of rows must be the number of blocks, each row represents a block and contains the item numbers. The number of columns present the number of items per block.

Value

Returns the rank of the design matrix as an integer.

Examples


# Define nine items divided by three triplets as blocks
blocks <- matrix(c(1:9), ncol = 3)

# Determine the rank of the design matrix
rankA(blocks)
    

[Package ThurMod version 1.1.11 Index]