Learn R Programming

gageRR (version 0.1.0)

xbar_varcomps: Average and Range Method Variance Component Summary

Description

Average and Range Method Variance Component Summary

Usage

xbar_varcomps(data, part, operator, meas)

Value

A list of numeric values for repeatability, reproducibility, total GRR, part-to-part, and total variance components.

Arguments

data

An R dataframe or tibble.

part

Column name (unquoted) specifying the unique ID of the part being measured.

operator

Column name (unquoted) specifying the operator for the recorded measurement.

meas

Column name (unquoted) where the measurement value is recorded.

Examples

Run this code
data <- data.frame(
  SN = rep(c("SerialNumber_01","SerialNumber_02"), each = 4),
  Operator = rep(c("Operator_01","Operator_02"), each = 2, times = 2),
  Measure = c(0.0172,0.0177,0.0155,0.0159,0.0174,0.0181,0.0152,0.0176)
)
xbar_varcomps(data, part = 'SN', operator = 'Operator', meas = 'Measure')

Run the code above in your browser using DataLab