design_to_N: Block Design to Treatment by Block Incidence Matrix

View source: R/ibd.R

design_to_NR Documentation

Block Design to Treatment by Block Incidence Matrix

Description

Generates treatment by block incidence matrix from a given block design

Usage

design_to_N(design)
N(design)

Arguments

design

design

Value

N

A treatment by block incidence matrix of order v by b with elements as 0 and 1 where v is the number of treatments and b is the number of blocks

Author(s)

Baidya Nath Mandal <mandal.stat@gmail.com>

Examples

design = matrix(c(1,4,6,5,6,7,3,4,5,2,4,7,1,3,7,2,3,6,1,2,5),nrow=7,byrow=TRUE)
design_to_N(design)
# or alternatively
N(design)

ibd documentation built on May 29, 2024, 12:11 p.m.

Related to design_to_N in ibd...