Learn R Programming

ibd (version 1.2)

Cmatrix: Information matrix from given incidence matrix of a block design

Description

This function gives the information matrix from a given incidence matrix of a block design

Usage

Cmatrix(N)

Arguments

N

incidence matrix

Value

Cmatrix

v by v information matrix where v is number of treatments

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab