Learn R Programming

SixSigma (version 0.9-52)

climProfiles: Compute profiles limits

Description

Function to compute prototype profile and confidence bands for a set of profiles (Phase I)

Usage

climProfiles(profiles, x = 1:nrow(profiles), smoothprof = FALSE,
  smoothlim = FALSE, alpha = 0.01)

Arguments

profiles

Matrix with profiles in columns

x

Vector for the independent variable

smoothprof

regularize profiles? [FALSE]

smoothlim

regularize confidence bands? [FALSE]

alpha

limit for control limits [0.01]

Value

a matrix with three profiles: prototype and confidence bands

References

Cano, E.L. and Moguerza, J.M. and Prieto Corcoba, M. (2015) Quality Control with R. An ISO Standards Approach. Springer.

Examples

Run this code
# NOT RUN {
wby.phase1 <- ss.data.wby[, 1:35]
wb.limits <- climProfiles(profiles = wby.phase1,
    x = ss.data.wbx,
    smoothprof = FALSE,
    smoothlim = FALSE)
    plotProfiles(profiles = wby.phase1,
                 x = ss.data.wbx, 
                 cLimits = wb.limits)
# }

Run the code above in your browser using DataLab