i.name {ThurMod}R Documentation

Creates names for paired comparisons of a given design.

Description

This function creates names for paired comparisons in the ixiy scheme. If items 1 and 2 are compared, this corresponds to i1i2.

Usage

i.name(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 a character vector, containing names for all binary indicators of a design.

Examples


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

i.name(blocks)
    

[Package ThurMod version 1.1.11 Index]