R6 class for performing Measurement System Analysis (MSA) Linearity studies.
XA data frame containing the independent variable(s) used in the linearity study.
YA data frame containing the dependent variable(s) or responses measured in the linearity study.
modelThe linear model object resulting from the linearity analysis.
conf.levelA numeric value specifying the confidence level for the linearity analysis. This should be between 0 and 1 (e.g., 0.95 for a 95% confidence level).
LinearityA list or data frame containing the results of the linearity study, including the linearity value and associated statistics.
GageNameA character string specifying the name of the gage or measurement system under analysis.
GageToleranceA numeric value specifying the tolerance of the gage or measurement system.
DateOfStudyA character string or Date object indicating the date when the linearity study was conducted.
PersonResponsibleA character string specifying the name of the person responsible for the linearity study.
CommentsA character string for additional comments or notes about the linearity study.
facNamesA character vector specifying the names of the factors involved in the study, if any.
response()Get and set the the response in an object of class MSALinearity.
MSALinearity$response(value)valueNew response, If missing value get the response.
plot()Plots the measurement system, including individual biases, mean bias, and a regression line with confidence intervals.
MSALinearity$plot(ylim, col, pch, lty = c(1, 2))ylimA numeric vector specifying the limits for the y-axis. If not provided, the limits are automatically calculated based on data.
colA vector specifying the colors to be used for different plot elements.
pchA numeric vector specifying the plotting characters (symbols) for individual data points and mean bias points.
ltyA numeric vector specifying the line types for the regression line and its confidence intervals. The default is c(1, 2).
as.data.frame()Return a data frame with the information of the object MSALinearity.
MSALinearity$as.data.frame()
clone()The objects of this class are cloneable with this method.
MSALinearity$clone(deep = FALSE)deepWhether to make a deep clone.