Learn R Programming

ibd (version 1.1)

is.equir: Equi-replicateness a binary incomplete block design

Description

This function checks whether an incomplete block design is equi-replicated or not. Incidence matrix of the design is to be supplied as input to the function. If the design is equir-eplicated, it returns a value of 1 else it returns 0.

Usage

is.equir(N)

Arguments

N
incidence matrix

Value

  • equirequi-replicated

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)
is.equir(N)

Run the code above in your browser using DataLab