Cmatrix: Information matrix from given treatment by block incidence...

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1

Arguments

N

treatment by block incidence matrix

Value

Cmatrix

v by v information matrix where v is number of treatments

Author(s)

B N Mandal <mandal.stat@gmail.com>

Examples

1
2
3
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)

Example output

Warning message:
no DISPLAY variable so Tk is not available 
           [,1]       [,2]       [,3]       [,4]       [,5]       [,6]
[1,]  2.0000000 -0.3333333 -0.3333333 -0.3333333 -0.3333333 -0.3333333
[2,] -0.3333333  2.0000000 -0.3333333 -0.3333333 -0.3333333 -0.3333333
[3,] -0.3333333 -0.3333333  2.0000000 -0.3333333 -0.3333333 -0.3333333
[4,] -0.3333333 -0.3333333 -0.3333333  2.0000000 -0.3333333 -0.3333333
[5,] -0.3333333 -0.3333333 -0.3333333 -0.3333333  2.0000000 -0.3333333
[6,] -0.3333333 -0.3333333 -0.3333333 -0.3333333 -0.3333333  2.0000000
[7,] -0.3333333 -0.3333333 -0.3333333 -0.3333333 -0.3333333 -0.3333333
           [,7]
[1,] -0.3333333
[2,] -0.3333333
[3,] -0.3333333
[4,] -0.3333333
[5,] -0.3333333
[6,] -0.3333333
[7,]  2.0000000

ibd documentation built on May 2, 2019, 6:52 a.m.

Related to Cmatrix in ibd...