View source: R/zeitzeiger_fit.R
zeitzeigerFit | R Documentation |
Fit a periodic smoothing spline to the measurements for each feature as a function of the periodic variable.
zeitzeigerFit(x, time, nKnots = 3)
x |
Matrix of measurements, with observations in rows and features in columns. Missing values are allowed. |
time |
Vector of values of the periodic variable for the observations, where 0 corresponds to the lowest possible value and 1 corresponds to the highest possible value. |
nKnots |
Number of internal knots to use for the periodic smoothing spline. |
xFitMean |
Matrix of coefficients, where rows correspond to features and columns correspond to variables in the fit. |
xFitResid |
Vector of root mean square of residuals, same length as
|
zeitzeigerSpc()
, zeitzeigerPredict()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.