rankA | R Documentation |
This function determines the rank of the fundamental design matrix defined by the blocks.
rankA(blocks)
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. |
Returns the rank of the design matrix as an integer.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.