num.ch: Number of Changes in Factor Levels of the Design

Description Usage Arguments Value Examples

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

1
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

1
2
3
4
# 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)

minimalRSD documentation built on May 1, 2019, 7:50 p.m.