The facDesign.c class is used to represent factorial designs, including their factors, responses, blocks, and design matrices. This class supports various experimental designs and allows for the storage and manipulation of data related to the design and analysis of factorial experiments.
nameCharacter string representing the name of the factorial design.
factorsList of factors involved in the factorial design, including their levels and settings.
cubeData frame containing the design matrix for the cube portion of the factorial design.
starData frame containing the design matrix for the star portion of the factorial design.
centerCubeData frame containing the center points within the cube portion of the factorial design.
centerStarData frame containing the center points within the star portion of the factorial design.
generatorList of generators used to create the fractional factorial design.
responseData frame containing the responses or outcomes measured in the design.
blockData frame specifying the block structures if the design is blocked.
blockGenData frame specifying the block generators for the design.
runOrderData frame specifying the order in which runs are performed.
standardOrderData frame specifying the standard order of the runs.
desireValList of desired values or targets for the response variables.
desirabilityList of desirability scores or metrics based on the desired values.
fitsData frame containing the fitted model parameters and diagnostics for the responses in the design.
print()Prints a formatted representation of the factorial design object, including design matrices and responses.
facDesign.c$print()
.clear()Clears the factorial design object.
facDesign.c$.clear()
names()Get or set the names of the factors in the factorial design.
facDesign.c$names(value)valueCharacter vector with new names for the factors. If missing, retrieves the current names.
as.data.frame()Converts the factorial design object to a data frame.
facDesign.c$as.data.frame()
iRow index.
jColumn index.
lows()Get or set the lower bounds of the factors in the factorial design.
facDesign.c$lows(value)valueNumeric vector with new lower bounds. If missing, retrieves the current lower bounds.
highs()Get or set the upper bounds of the factors in the factorial design.
facDesign.c$highs(value)valueNumeric vector with new upper bounds. If missing, retrieves the current upper bounds.
.nfp()Prints a summary of the factors attributes including their low, high, name, unit, and type.
facDesign.c$.nfp()
identity()Returns the factorial design object itself, used to verify or return the object.
facDesign.c$identity()
.response()Get or set the response data in the factorial design object.
facDesign.c$.response(value)valueData frame or numeric vector with new responses. If missing, retrieves the current responses.
effectPlot()Plots the effects of factors on the response variables.
facDesign.c$effectPlot(
factors,
fun = mean,
response = NULL,
lty,
xlab,
ylab,
main,
ylim
)factorsFactors to be plotted.
funFunction applied to the response variables (e.g., mean).
responseOptional; specifies which response variables to plot.
ltyLine type for plotting.
xlabLabel for the x-axis.
ylabLabel for the y-axis.
mainMain title for the plot.
ylimLimits for the y-axis.
lm()Fits a linear model to the response data in the factorial design object.
facDesign.c$lm(formula)formulaFormula specifying the model to be fitted.
desires()Get or set the desirability values for the response variables.
facDesign.c$desires(value)valueList of new desirability values. If missing, retrieves the current desirability values.
set.fits()Set the fits for the response variables in the factorial design object.
facDesign.c$set.fits(value)valueNew fits.
types()Get or set the types of designs used in the factorial design object.
facDesign.c$types(value)valueNew design types. If missing, retrieves the current types.
unit()Get or set the units for the factors in the factorial design object.
facDesign.c$unit(value)valueNew units. If missing, retrieves the current units.
.star()Get or set the star points in the factorial design object.
facDesign.c$.star(value)valueNew star points. If missing, retrieves the current star points.
.blockGen()Get or set the block generators in the factorial design object.
facDesign.c$.blockGen(value)valueNew block generators. If missing, retrieves the current block generators.
.block()Get or set the blocks in the factorial design object.
facDesign.c$.block(value)valueNew blocks. If missing, retrieves the current blocks.
.centerCube()Get or set the center points in the cube portion of the factorial design.
facDesign.c$.centerCube(value)valueNew center points for the cube. If missing, retrieves the current center points.
.centerStar()Get or set the center points in the star portion of the factorial design.
facDesign.c$.centerStar(value)valueNew center points for the star. If missing, retrieves the current center points.
.generators()Get or set the generators for the factorial design.
facDesign.c$.generators(value)valueNew generators. If missing, retrieves the current generators.
clone()The objects of this class are cloneable with this method.
facDesign.c$clone(deep = FALSE)deepWhether to make a deep clone.
mixDesign.c, taguchiDesign.c.