prcurve that fit
smooth functions to each variable that, when combined, give the
principal curve. The functions act as wrappers to the main fitting
functions, which currently include smooth.spline and
gam.smoothSpline(lambda, x, choose = TRUE, complexity, ...,
penalty = 1, cv = FALSE, keep.data = FALSE,
control.spar = list(low = 0))smoothGAM(lambda, x, choose = TRUE, complexity, bs = "tp", ...,
family = gaussian(), method = "REML", select = FALSE,
control = list())
X
in turn as the response.smooth.spline.s.gam.smooth.spline and users should read that function's
help page for further details."prcurveSmoother" with the following
components:smooth.spline and
gam.prcurve for how these functions are used.