num.ch {minimalRSD} | R Documentation |
For a given design in matrix form, it counts the number of changes in levels of each factor as well as overall number of changes in the design.
num.ch(M)
M |
a design matrix. |
returns the number of changes in levels of each factor and total number of such changes in the design
# For generating a minimally changed CCD with 4 factors
des<-min_ccd(4)
# To count the number of level changes in the generated design
num.ch(des$CCD_design)