Learn R Programming

SixSigma (version 0.11.1)

smoothProfiles: Regularise set of profiles

Description

This function takes a set of profiles and regularise them by means of a SVM

Usage

smoothProfiles(
  profiles,
  x = 1:nrow(profiles),
  svm.c = NULL,
  svm.eps = NULL,
  svm.gamma = NULL,
  parsvm.unique = TRUE
)

Value

Regularized profiles

Arguments

profiles

Matrix of y values, one column per profile

x

Vector of predictive variable values, common to all profiles

svm.c

SVM parameter (cost)

svm.eps

SVM parameter (epsilon)

svm.gamma

SVM parameter (gamma)

parsvm.unique

Same parameters for all profiles? (logical [TRUE])

Author

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

Run this code
wby.smooth <- smoothProfiles(profiles = ss.data.wby,
    x = ss.data.wbx)
plotProfiles(profiles = wby.smooth,
    x = ss.data.wbx)     

Run the code above in your browser using DataLab