Learn R Programming

ibd (version 1.0)

btib: balanced treatment incomplete block design

Description

This function generates balanced treatment incomplete block design for specified parameters.

Usage

btib(v,b,r,r0,k,lambda,lambda0,ntrial)

Arguments

v
number of test treatments
b
number of blocks
r
number of replications of test treatments
r0
number of replications of control treatment
k
block size
lambda
number of concurrences among test treatments
lambda0
number of concurrences between test treatments and control treatment
ntrial
number of trials

Value

  • vnumber of test treatments
  • bnumber of blocks
  • rnumber of replications of test treatments
  • r0number of replications of control treatment
  • kblock size
  • lambdanumber of concurrences among test treatments
  • lambda0number of concurrences between test treatments and control treatment
  • designgenerated block design
  • Nincidence matrix of the generated block design
  • NNPconcurrence matrix of the generated design
  • AeffA-efficiency of the generated design

Examples

Run this code
btib(4,6,3,6,3,1,3,10)

Run the code above in your browser using DataLab