An R6 class representing a Taguchi experimental design.
nameA character string specifying the name of the design. Default is NULL.
factorsA list of factors included in the Taguchi design. Each factor is typically an instance of the taguchiFactor class.
designA `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.
designTypeA character string specifying the type of Taguchi design used. Default is NULL.
replicA `data.frame` containing the replication information for the design. Default is an empty data.frame.
responseA `data.frame` storing the response values collected from the experiment. Default is an empty data.frame.
TypeA `data.frame` specifying the type of responses or factors involved in the design. Default is an empty data.frame.
blockA `data.frame` indicating any blocking factors used in the design. Default is an empty data.frame.
runOrderA `data.frame` detailing the order in which the experimental runs were conducted. Default is an empty data.frame.
standardOrderA `data.frame` detailing the standard order of the experimental runs. Default is an empty data.frame.
desireValA list storing desired values for responses in the experiment. Default is an empty list.
desirabilityA list storing desirability functions used to evaluate the outcomes of the experiment. Default is an empty list.
fitsA `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)valueNew value, If missing value get the values.
units()Get and set the units for an object of class taguchiDesign.
taguchiDesign.c$units(value)valueNew units, If missing value get the units.
.factors()Get and set the factors in an object of class taguchiDesign.
taguchiDesign.c$.factors(value)valueNew factors, If missing value get the factors.
names()Get and set the names in an object of class taguchiDesign.
taguchiDesign.c$names(value)valueNew 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()
.response()Get and set the the response in an object of class taguchiDesign.
taguchiDesign.c$.response(value)valueNew 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()
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
)factorsFactors to be plotted.
funFunction applied to the response variables (e.g., mean).
responseOptional; specifies which response variables to plot.
pointsLogical; if TRUE, plots data points.
l.colA color for the lines.
p.colA color for the points.
ld.colA color for the dashed line.
ltyLine type for plotting.
xlabLabel for the x-axis.
ylabLabel for the y-axis.
mainMain title for the plot.
ylimLimits for the y-axis.
pchThe 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)deepWhether 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)
Run the code above in your browser using DataLab