Function to compute prototype profile and confidence bands for a set of profiles (Phase I)
climProfiles(
profiles,
x = 1:nrow(profiles),
smoothprof = FALSE,
smoothlim = FALSE,
alpha = 0.01
)
Matrix with profiles in columns
Vector for the independent variable
regularize profiles? [FALSE]
regularize confidence bands? [FALSE]
limit for control limits [0.01]
a matrix with three profiles: prototype and confidence bands
Cano, E.L. and Moguerza, J.M. and Prieto Corcoba, M. (2015) Quality Control with R. An ISO Standards Approach. Springer.
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)