Signal-to-Noise-Ratio Plots

Share:

Description

A Signal-to-Noise-Ratio plot is created for designs of type taguchiDesign with at least two replicates.

Usage

1
2
3
snPlot(object, type="nominal", factors, fun = mean, response = NULL,
       single = FALSE, points = FALSE, classic = FALSE, axes = TRUE, 
       lty, xlab, ylab, main, ylim, ...)

Arguments

object

needs to be an object of class taguchiDesign.

type

character variable setting the type of the signal-to-noise-ratio plot. The following three can be chosen:

  • “nominal”: Creates a nominal-the-best signal-to-noise-ratio plot. This type of signal-to-noise-ratio plot is used if the goal is to equalize the observed values to a nominal value. For example, the output impedance of an electric device should be as close to specification as possible to garantee a high level of quality.

  • “smaller”: Creates a smaller-the-better signal-to-noise-ratio plot. This type of signal-to-noise-ratio plot is used if the goal is to minimize the observed values. For example, the usage of an of an automatic peeling device: the remains of skin on potatoes should be as small as possible to ensure a high level of quality.

  • “larger”: Creates a larger-the-better signal-to-noise-ratio plot. This type of signal-to-noise-ratio plot is used if the goal is to maximize the observed values. For example, the amount of fruits on trees in a cultivation should be maximised to maximise the profit.

By default fun is set to “nominal”

factors

for which factor is the effectPlot to be created.

fun

a function for the construction of the effectPlot such as mean, median,etc.
By default fun is set to mean.

response

response variable. If the response data frame of fdo consists of more then one responses,
this variable can be used to choose just one column of the response data frame. response needs to be an object of class character with length of ‘1’. It needs to be the same character as the name of the response in the response data frame that should be plotted.
By default response is set to ‘NULL’.

single

logical value. If ‘TRUE’ device region can be set up using for instance par(mfrow = c(2,2)).
By default single is set to ‘FALSE’.

points

logical value. If ‘TRUE’ points are shown in addition to values out of fun.
By default points is set to ‘FALSE’.

classic

logical value. ‘TRUE’ creates an effectPlot as depicted in most textbooks.
By default classic is set to ‘FALSE’.

axes

logical value indicating wheter the axes should be drawn or not.
‘TRUE’ by default.

lty

numerical value which specifies the line type used.

xlab

a title for the x axis: title.

ylab

a title for the y axis: title.

main

an overall title for the plot: see title.

ylim

vector giving the range of the y-axis.

...

Arguments to be passed to methods, such as graphical parameters (see par).

Details

snPlot uses effectPlot and creates an effect plot for the signal-to-noise ratios as target values.
Depending on the used type the target values for the single replications of the taguchi design will be calculated in the following way:

  • “nominal”: SN = 10*log(mean(y)/var(y))

  • “smaller”: SN = -10*log((1/n)*sum(y^2))

  • “larger”: SN = -10*log((1/n)*sum(1/y^2))

Signal-to-Noise ratio plots are an additional tool to estimate the effects of the single factors. Beside the effect plot, which is used to identify the factor with the most effect to a process or something like that, the signal-to-noise ratio plot can be used to judge the variance an d therefore the validity of the results of an effect plot.

Value

snPlot invisibly returns a data.frame containing all the single Signal-to-Noise ratios.

Author(s)

Thomas Roth thomas.roth@tu-berlin.de
Etienne Stockhausen stocdarf@mailbox.tu-berlin.de

References

See Also

interactionPlot
paretoPlot
facDesign
response
normalPlot
http://www.r-qualitytools.org/html/Improve.html

Examples

1
2
3
tdo = taguchiDesign("L9_3",replicates=3)
response(tdo) = rnorm(27)
snPlot(tdo, points = TRUE, col = 2, pch = 16, lty = 3)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.