gen.Factr: Factorial Designs

Description Usage Arguments Value Examples

Description

Generate factorial designs

Usage

1
  gen.Factr(n.vars, n.levels, varNames = NULL, scale = TRUE)

Arguments

n.vars

The number of factors or independent variables

n.levels

The number of levels of the factor

varNames

The names of factors. If it is not provided, the default names are X1, X2,..., Xk.

scale

If it is scale = TRUE, the level values will be scaled to -1 to 1.

Value

gen.Factr is called to generate the data frame of the design matrix of the factorial design.

Examples

1
2
CCD1<- gen.Factr(n.vars = 3, n.levels = 5)
CCD2<- gen.Factr(n.vars = 3, n.levels = 5, varNames = c("T1","T2","T3"), scale = FALSE)


Search within the VdgRsm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.