Function that extracts the FPCA object created either by run_fpca()
or run_mfpca()
from the mxFDA
object
Value
fpca
object created with run_fcm()
Author
Alex Soupir alex.soupir@moffitt.org
Examples
#load ovarian mxFDA object
data('ovarian_FDA')
#run the FPCA
ovarian_FDA = run_fpca(ovarian_FDA, metric = "uni g", r = "r", value = "fundiff",
lightweight = TRUE,
pve = .99)
#> 128 sample have >= 4 values for FPCA; removing 0 samples
#extract the fpca object
obj = extract_fpca_object(ovarian_FDA, "uni g fpca")