| horizFPNS | R Documentation |
This function calculates vertical functional principal nested sphere analysis on aligned data
horizFPNS(warp_data, var_exp = 0.99, ci = c(-1, 0, 1), showplot = TRUE)
warp_data |
fdawarp object from time_warping of aligned data |
var_exp |
compute no based on value percent variance explained (example: 0.95) |
ci |
geodesic standard deviations (default = c(-1,0,1)) |
showplot |
show plots of principal directions (default = T) |
Returns a hfpns object containing
gam_pns |
warping functions principal directions |
psi_pns |
srvf principal directions |
PNS |
PNS object |
Yu, Q., Lu, X., and Marron, J. S. (2017), “Principal Nested Spheres for Time-Warped Functional Data Analysis,” Journal of Computational and Graphical Statistics, 26, 144–151.
hfpns <- horizFPNS(simu_warp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.