powered by
This function computes D-efficiency of a binary incomplete block design. Incidence matrix of the design is to be supplied as input to the function.
D_eff(N)
incidence matrix
D-efficiency
# NOT RUN { 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