Learn R Programming

AccSamplingDesign (version 0.0.4)

summary.VarPlan: Summarize Variable Acceptance Plan

Description

Detailed summaries for variable acceptance plans.

Usage

# S3 method for VarPlan
summary(object, ...)

Value

No return value. This function is called for its side effect of printing a formatted summary of the variable sampling plan to the console.

Arguments

object

Plan object to summarize

...

Additional parameters (ignored)

Author

Ha Truong

Examples

Run this code
var_plan <- optVarPlan(
  PRQ = 0.025,       # Acceptable quality level (% nonconforming)
  CRQ = 0.1,         # Rejectable quality level (% nonconforming)
  alpha = 0.05,      # Producer's risk
  beta = 0.1,        # Consumer's risk
  distribution = "normal"
)
summary(var_plan)

Run the code above in your browser using DataLab