View source: R/select_gamma_FirstDeFEC.R
This function computes the cv errors for different smoothing parameter
1 2 | select_gamma(gamma_pool, folds, obs, timep, basis_intelist, spline_basis,
thres = 1e-04, betalist = NULL, evalc = 5, maxit = 1000)
|
gamma_pool |
a vector of canadiate smoothing parameter values |
folds |
cv folds |
obs |
observed response, a list |
basis_intelist |
a list of integrated B-spline basis function |
spline_basis |
the B-spline basis for the fitted FEC |
thres |
threshold |
betalist |
previous DeFEC's coefs |
evalc |
evaluate times |
maxit |
maxit |
timp |
timepoints corresponding to the observed response, a list |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.