View source: R/single_pc_step.R
This function computes the first DeFEC
1 2 3 | single_FPC(betalist = NULL, obs, timep, basis_intelist, spline_basis,
threshold = 0.001, minit = 20, gamma = 0, maxeval = 1000,
randomseed = 1001)
|
betalist |
a list of previous DeFEC's coefficients, the resulting one should be orthogonal to those previous computed ones. |
obs |
a list of observed longitudinal data; each element in the list is a numeric vector for one subject's observed data |
timep |
a list of observed time points |
basis_intelist |
a list of integrated B-spline basis function |
spline_basis |
the B-spline basis for the fitted FEC |
gamma |
a positive number, the smoothing parameter |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.