Learn R Programming

ibd (version 1.1)

A_eff: A-efficiency of a binary incomplete block design

Description

This function computes A-efficiency of an incomplete block design. Incidence matrix of the design is to be supplied as input to the function.

Usage

A_eff(N)

Arguments

N
incidence matrix

Value

  • AeffA-efficiency

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)
A_eff(N)

Run the code above in your browser using DataLab