Learn R Programming

ibd (version 1.5)

D_eff: D-efficiency of a binary incomplete block design

Description

This function computes lower bound to D-efficiency of a binary incomplete block design. Treatment by block incidence matrix of the design is to be supplied as input to the function.

Usage

D_eff(N)

Value

Deff

Lower bound to D-efficiency

Arguments

N

treatment by block incidence matrix

Author

B N Mandal <mandal.stat@gmail.com>

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

Run the code above in your browser using DataLab