climProfiles: Compute profiles limits

View source: R/qcr.profiles.R

climProfilesR Documentation

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

Author(s)

Javier M. Moguerza and Emilio L. Cano

References

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

Examples

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)

SixSigma documentation built on Aug. 22, 2023, 9:11 a.m.