Learn R Programming

ibd (version 1.6)

Cmatrix: Information Matrix of a Block Design

Description

Gives the information matrix from a given treatment by block incidence matrix of a block design

Usage

Cmatrix(N)

Value

Cmatrix

v by v information matrix where v is number of treatments

Arguments

N

treatment by block incidence matrix

Author

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

Examples

Run this code
N = matrix(c(1,0,0,0,1,0,1,0,0,0,1,0,1,1,0,0,1,0,1,1,0,1,0,1,1,0,0,0,0,1,1,0,0,0,1,1,1,0,0,0,1,0,0
,1,0,1,1,0,0),nrow=7,byrow=TRUE)
Cmatrix(N)
Information.Matrix(N)

Run the code above in your browser using DataLab