R/FPCA_related.R
fpca.combine.Rd
Performs FPCA to extract features from longitudinal encounter data.
fpca.combine( time_code, follow_up_time, K.select = "PropVar", n.grid = 401, propvar = 0.85 )
time_code | longitudinal encounter times. See an example as |
---|---|
follow_up_time | follow-up time information. See an example as |
K.select | characters indicating which method to choose the number of principal components K. Default is K.select="PropVar", and K.select="PPIC" is also available. |
n.grid | an integer value for grid points used in estimating covariance function g. Default is |
propvar | a proportion of variation used to select number of FPCs. Default is |