is.connected {ibd} | R Documentation |
Connctedness of a Binary Incomplete Block Design
Description
Checks whether an incomplete block design is connected or not. Treatment by block incidence matrix of the design is to be supplied as input to the function. If the design is connected, it returns a value of 1 else it returns 0.
Usage
is.connected(N)
Arguments
N |
incidence matrix |
Value
connected |
connctedness |
Author(s)
Baidya Nath Mandal <mandal.stat@gmail.com>
Examples
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)
is.connected(N)
[Package ibd version 1.6 Index]