Learn R Programming

ibd (version 1.0)

A_eff_tc: A-efficiency of incomplete block design for test vs control(s) comparisons

Description

This function computes A-efficiency of incomplete block design for test vs control(s) comparisons

Usage

A_eff_tc(N,v1,v2,b,k)

Arguments

N
incidence matrix
v1
number of test treatments
v2
number of control treatments
b
number of blocks
k
block size

Value

  • AeffA-efficiency of the design

Examples

Run this code
N=matrix(c(1	,	1	,	0	,	0	,	0	,
0	,	0	,	0	,	1	,	1	,
0	,	1	,	1	,	0	,	1	,
1	,	0	,	1	,	1	,	0	,
1	,	1	,	1	,	1	,	1	
),nrow=5,byrow=TRUE)
A_eff_tc(N,4,1,5,3)

Run the code above in your browser using DataLab