taguchiDesign.c | R Documentation |
An R6 class representing a Taguchi experimental design.
name
A character string specifying the name of the design. Default is NULL
.
factors
A list of factors included in the Taguchi design. Each factor is typically an instance of the taguchiFactor
class.
design
A 'data.frame' representing the design matrix of the experiment. This includes the levels of each factor for every run of the experiment. Default is an empty data.frame
.
designType
A character string specifying the type of Taguchi design used. Default is NULL
.
replic
A 'data.frame' containing the replication information for the design. Default is an empty data.frame
.
response
A 'data.frame' storing the response values collected from the experiment. Default is an empty data.frame
.
Type
A 'data.frame' specifying the type of responses or factors involved in the design. Default is an empty data.frame
.
block
A 'data.frame' indicating any blocking factors used in the design. Default is an empty data.frame
.
runOrder
A 'data.frame' detailing the order in which the experimental runs were conducted. Default is an empty data.frame
.
standardOrder
A 'data.frame' detailing the standard order of the experimental runs. Default is an empty data.frame
.
desireVal
A list storing desired values for responses in the experiment. Default is an empty list.
desirability
A list storing desirability functions used to evaluate the outcomes of the experiment. Default is an empty list.
fits
A 'data.frame' containing model fits or other statistical summaries from the analysis of the experimental data. Default is an empty data.frame
.
values()
Get and set the values
for an object of class taguchiDesign
.
taguchiDesign.c$values(value)
value
New value, If missing value get the values
.
units()
Get and set the units
for an object of class taguchiDesign
.
taguchiDesign.c$units(value)
value
New units, If missing value get the units
.
.factors()
Get and set the factors
in an object of class taguchiDesign
.
taguchiDesign.c$.factors(value)
value
New factors, If missing value get the factors
.
names()
Get and set the names
in an object of class taguchiDesign
.
taguchiDesign.c$names(value)
value
New names, If missing value get the names
.
as.data.frame()
Return a data frame with the information of the object taguchiDesign.c
.
taguchiDesign.c$as.data.frame()
print()
Methods for function print
in Package base
.
taguchiDesign.c$print()
.response()
Get and set the the response
in an object of class taguchiDesign
.
taguchiDesign.c$.response(value)
value
New response, If missing value get the response
.
.nfp()
Prints a summary of the factors attributes including their low, high, name, unit, and type.
taguchiDesign.c$.nfp()
summary()
Methods for function summary
in Package base
.
taguchiDesign.c$summary()
effectPlot()
Plots the effects of factors on the response variables.
taguchiDesign.c$effectPlot( factors, fun = mean, response = NULL, points = FALSE, l.col, p.col, ld.col, lty, xlab, ylab, main, ylim, pch )
factors
Factors to be plotted.
fun
Function applied to the response variables (e.g., mean).
response
Optional; specifies which response variables to plot.
points
Logical; if TRUE, plots data points.
l.col
A color for the lines.
p.col
A color for the points.
ld.col
A color for the dashed line.
lty
Line type for plotting.
xlab
Label for the x-axis.
ylab
Label for the y-axis.
main
Main title for the plot.
ylim
Limits for the y-axis.
pch
The symbol for plotting points.
tdo = taguchiDesign("L9_3") tdo$.response(rnorm(9)) tdo$effectPlot(points = TRUE, pch = 16, lty = 3)
identity()
Calculates the alias table for a fractional factorial design and prints an easy to read summary of the defining relations such as 'I = ABCD' for a standard 2^(4-1) factorial design.
taguchiDesign.c$identity()
clone()
The objects of this class are cloneable with this method.
taguchiDesign.c$clone(deep = FALSE)
deep
Whether to make a deep clone.
## ------------------------------------------------
## Method `taguchiDesign.c$effectPlot`
## ------------------------------------------------
tdo = taguchiDesign("L9_3")
tdo$.response(rnorm(9))
tdo$effectPlot(points = TRUE, pch = 16, lty = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.