Learn R Programming

gageRR (version 0.1.0)

xbar_repeat: Average and Range Method Repeatability Calculation

Description

Average and Range Method Repeatability Calculation

Usage

xbar_repeat(data, part, operator, meas)

Value

A number. The measure of repeatability for the given data.

Arguments

data

An R dataframe or tibble containing the required identifier and measurement columns.

part

Column name (unquoted) specifying the unique ID of the part being measured. The column should be a character or factor vector.

operator

Column name (unquoted) specifying the operator for the recorded measurement. The column should be a character or factor vector.

meas

Column name (unquoted) where the measurement value is recorded. The column must be numeric and contain no missing or infinite values.

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_repeat(data, part = 'SN', operator = 'Operator', meas = 'Measure')

Run the code above in your browser using DataLab