is.connected | R Documentation |
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.
is.connected(N)
N |
incidence matrix |
connected |
connctedness |
Baidya Nath Mandal <mandal.stat@gmail.com>
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.