Learn R Programming

AsymmetricSORDs (version 1.0.0)

CCD_coded: Central Composite Designs (CCD) with coded levels

Description

This function generates Central Composite Designs (CCD) with coded levels for a given number of input factors (v). The CCD constitute combinations of factorial points, axial points and center points. Three types of CCD can be generated using this function i.e. ccc or cci or ccf. "ccc" is for Central Composite Circumscribed designs, "cci" is for Central Composite Inscribed designs and "ccf" is for Central Composite Face Centered designs. It gives the randomized layout of the design along with the moment matrix and prediction variance.

Usage

CCD_coded(v, type, randomization = FALSE, variance = FALSE)

Arguments

v

Number of input factors, v(>2)

type

Type of central composite design i.e. ccc or cci or ccf. "ccc" is for Central Composite Circumscribed designs, "cci" is for Central Composite Inscribed designs and "ccf" is for Central Composite Face Centered designs

randomization

It is for generating the randomized layout of the design. It takes either TRUE or FALSE and by default, it is set to FALSE

variance

This is for generating the moment matrix and prediction variance of the design based on a second order model. It gives unique prediction variance along with its frequencies. It takes either TRUE or FALSE and by default, it is set to FALSE

Value

Central Composite Designs (CCD) for a given number of input factors (v) with coded levels

References

1) G.E.P. Box and K.B. Wilson (1951)." On the experimental attainment of optimum conditions".

2) M. Hemavathi, Shashi Shekhar, Eldho Varghese, Seema Jaggi, Bikas Sinha & Nripes Kumar Mandal (2022)<DOI: 10.1080/03610926.2021.1944213>. "Theoretical developments in response surface designs: an informative review and further thoughts".

Examples

Run this code
# NOT RUN {
library(AsymmetricSORDs)
CCD_coded(5,'ccc',FALSE,FALSE)
CCD_coded(6,"cci",FALSE,FALSE)

# }

Run the code above in your browser using DataLab