#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)
#extract the fpca object
obj = extract_fpca_object(ovarian_FDA, "uni g fpca")
Run the code above in your browser using DataLab