Learn R Programming

ibd (version 1.0)

ibdtvc: incomplete block design for test vs control(s) comparions

Description

This function generates incomplete block design for test vs control(s) comparisons with specified parameters and concurrence matrix.

Usage

ibdtvc(v1,v2,b,k,NNPo,ntrial)

Arguments

v1
number of test treatments
v2
number of control treatments
b
number of blocks
k
block size
NNPo
desired concurrence matrix
ntrial
number of trials

Value

  • v1=v1,v2=v2,b=b,k=k,design=design,N=N, NNP=NNP,Aeff=Aeff)
  • v1number of test treatments
  • v2number of control treatments
  • bnumber of blocks
  • kblock size
  • designgenerated block design
  • Nincidence matrix of the generated block design
  • NNPconcurrence matrix of the generated design
  • AeffA-efficiency of the generated design

References

Mandal, BN, Gupta, VK and Parsad, R. (2013). Binary Incomplete Block Designs with a Specified Concurrence Matrix through Integer Programming, to be submitted for publication

Examples

Run this code
NNPo=matrix(c(7	,	3	,	3	,	3	,	3	,	3	,	3	,	3	,
3	,	7	,	3	,	3	,	3	,	3	,	3	,	3	,
3	,	3	,	7	,	3	,	3	,	3	,	3	,	3	,
3	,	3	,	3	,	7	,	3	,	3	,	3	,	3	,
3	,	3	,	3	,	3	,	7	,	3	,	3	,	3	,
3	,	3	,	3	,	3	,	3	,	7	,	3	,	3	,
3	,	3	,	3	,	3	,	3	,	3	,	9	,	9	,
3	,	3	,	3	,	3	,	3	,	3	,	9	,	9	
),nrow=8,byrow=TRUE)
ibdtvc(6,2,15,4,NNPo)

Run the code above in your browser using DataLab