ss.rr.plots {industRial} | R Documentation |
Gage R & R plots
Description
Extracts stand alone plots from the ss.rr function of the SixSigma package.
Usage
ss.rr.plots(
var,
part,
appr,
lsl = NA,
usl = NA,
sigma = 6,
data,
main = "Six Sigma Gage R&R Study",
sub = "",
alphaLim = 0.05,
errorTerm = "interaction",
digits = 4
)
Arguments
var |
Measured variable |
part |
Factor for parts |
appr |
Factor for appraisers (operators, machines, ...) |
lsl |
Numeric value of lower specification limit used with USL to calculate Study Variation as %Tolerance |
usl |
Numeric value of upper specification limit used with LSL to calculate Study Variation as %Tolerance |
sigma |
Numeric value for number of std deviations to use in calculating Study Variation |
data |
Data frame containing the variables |
main |
Main title for the graphic output |
sub |
Subtitle for the graphic output (recommended the name of the project) |
alphaLim |
Limit to take into account interaction |
errorTerm |
Which term of the model should be used as error term (for the model with interation) |
digits |
Number of decimal digits for output |
Details
This is a modified version of the function ss.rr
from the SixSigma package that allows to extract the individual plots from
the output report. The input arguments of the function are the same
as the original function. See the original function help with ?ss.rr for
full documentation.
Value
Generates a list output that can be assigned to a user created variable. The plots can then be accessed with the syntax variable$plot1 to plot6.
References
For an example application refer to https://j-ramalho.github.io/industRial/