num.ch {minimalRSD}R Documentation

Number of Changes in Factor Levels of the Design

Description

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.

Usage

num.ch(M)

Arguments

M

a design matrix.

Value

returns the number of changes in levels of each factor and total number of such changes in the design

Examples

# 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)

[Package minimalRSD version 1.0.0 Index]