fpca.combine: Extract Features by Functional Principal Component Analysis...

Description Usage Arguments

View source: R/FPCA_related.R

Description

Performs FPCA to extract features from longitudinal encounter data.

Usage

1
2
3
4
5
6
7
8
fpca.combine(
  longitudinal,
  follow_up_time,
  K.select = "PropVar",
  Kmax = 5,
  n.grid = 401,
  propvar = 0.85
)

Arguments

longitudinal

longitudinal encounter times. See an example as longitudinal data.

follow_up_time

follow-up time information. See an example as follow_up_time.

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.

Kmax

an integer value. The max of the principle components K. Default is 5.

n.grid

an integer value for grid points used in estimating covariance function g. Default is 401.

propvar

a proportion of variation used to select number of FPCs. Default is 0.85.


celehs/PETLER documentation built on Sept. 3, 2021, 8:21 a.m.