Learn R Programming

⚠️There's a newer version (2.4.0) of this package.Take me there.

fdasrvf

R library for elastic functional data analysis

A R package for functional data analysis using the square root velocity framework which performs pair-wise and group-wise alignment as well as modeling using functional component analysis

Installation


v1.9.3 is on CRAN and can be installed as

install.packages("fdasrvf")

For a more up to date, but may not be stable version from git repository This version has RBFGS while CRAN does not.

  1. Download zip or tar.gz of package or clone repository
  2. Install into R (> 3.5.0)

install.packages("fdasrvf.tar.gz", repos = NULL)


References

Tucker, J. D. 2014, Functional Component Analysis and Regression using Elastic Methods. Ph.D. Thesis, Florida State University.

Robinson, D. T. 2012, Function Data Analysis and Partial Shape Matching in the Square Root Velocity Framework. Ph.D. Thesis, Florida State University.

Huang, W. 2014, Optimization Algorithms on Riemannian Manifolds with Applications. Ph.D. Thesis, Florida State University.

Srivastava, A., Wu, W., Kurtek, S., Klassen, E. and Marron, J. S. (2011). Registration of Functional Data Using Fisher-Rao Metric. arXiv:1103.3817v2 [math.ST].

Tucker, J. D., Wu, W. and Srivastava, A. (2013). Generative models for functional data using phase and amplitude separation. Computational Statistics and Data Analysis 61, 50-66.

J. D. Tucker, W. Wu, and A. Srivastava, "Phase-Amplitude Separation of Proteomics Data Using Extended Fisher-Rao Metric," Electronic Journal of Statistics, Vol 8, no. 2. pp 1724-1733, 2014.

J. D. Tucker, W. Wu, and A. Srivastava, "Analysis of signals under compositional noise With applications to SONAR data," IEEE Journal of Oceanic Engineering, Vol 29, no. 2. pp 318-330, Apr 2014.

Srivastava, A., Klassen, E., Joshi, S., Jermyn, I., (2011). Shape analysis of elastic curves in euclidean spaces. Pattern Analysis and Machine Intelligence, IEEE Transactions on 33 (7), 1415-1428.

S. Kurtek, A. Srivastava, and W. Wu. Signal estimation under random time-warpings and nonlinear signal alignment. In Proceedings of Neural Information Processing Systems (NIPS), 2011.

Wen Huang, Kyle A. Gallivan, Anuj Srivastava, Pierre-Antoine Absil. "Riemannian Optimization for Elastic Shape Analysis", Short version, The 21st International Symposium on Mathematical Theory of Networks and Systems (MTNS 2014).

Cheng, W., Dryden, I. L., and Huang, X. (2016). Bayesian registration of functions and curves. Bayesian Analysis, 11(2), 447-475.

W. Xie, S. Kurtek, K. Bharath, and Y. Sun, A geometric approach to visualization of variability in functional data, Journal of American Statistical Association 112 (2017), pp. 979-993.

Lu, Y., R. Herbei, and S. Kurtek, 2017: Bayesian registration of functions with a Gaussian process prior. Journal of Computational and Graphical Statistics, 26, no. 4, 894–904.

Lee, S. and S. Jung, 2017: Combined analysis of amplitude and phase variations in functional data. arXiv:1603.01775 [stat.ME], 1–21.

J. D. Tucker, J. R. Lewis, and A. Srivastava, “Elastic Functional Principal Component Regression,” Statistical Analysis and Data Mining, vol. 12, no. 2, pp. 101-115, 2019.

J. D. Tucker, J. R. Lewis, C. King, and S. Kurtek, “A Geometric Approach for Computing Tolerance Bounds for Elastic Functional Data,” Journal of Applied Statistics, 10.1080/02664763.2019.1645818, 2019.

T. Harris, J. D. Tucker, B. Li, and L. Shand, "Elastic depths for detecting shape anomalies in functional data," Technometrics, 10.1080/00401706.2020.1811156, 2020.

Copy Link

Version

Install

install.packages('fdasrvf')

Monthly Downloads

638

Version

1.9.4

License

GPL-3

Maintainer

J Derek Tucker

Last Published

October 9th, 2020

Functions in fdasrvf (1.9.4)

calc_shape_dist

Elastic Shape Distance
align_fPCA

Group-wise function alignment and PCA Extractions
SqrtMedian

SRVF transform of warping functions
PhaseBoxplot

Phase Boxplot
curve_geodesic

Form geodesic between two curves
beta

MPEG7 Curve Dataset
curve_karcher_cov

Curve Karcher Covariance
SqrtMean

SRVF transform of warping functions
AmplitudeBoxplot

Amplitude Boxplot
bootTB

Tolerance Bound Calculation using Bootstrap Sampling
elastic.lpcr.regression

Elastic Logisitc Prinipcal Component Regression
curve_pair_align

Pairwise align two curves
curve_karcher_mean

Karcher Mean of Curves
elastic.distance

Calculates two elastic distance
elastic.logistic

Elastic Logistic Regression
curve_srvf_align

Align Curves
function_mean_bayes

Bayesian Karcher Mean Calculation
curve_to_q

Convert to SRVF space
curve_principal_directions

Curve PCA
elastic.depth

Calculates elastic depth
function_group_warp_bayes

Bayesian Group Warping
elastic.prediction

Elastic Prediction from Regression Models
elastic.mlogistic

Elastic Multinomial Logistic Regression
gauss_model

Gaussian model of functional data
f_to_srvf

Convert to SRSF
jointFPCA

Joint Vertical and Horizontal Functional Principal Component Analysis
joint_gauss_model

Gaussian model of functional data using joint Model
elastic.pcr.regression

Elastic Linear Prinipcal Component Regression
elastic.mlpcr.regression

Elastic Multinomial Logisitc Prinipcal Component Regression
kmeans_align

K-Means Clustering and Alignment
optimum.reparam

Align two functions
fdasrvf

Elastic Functional Data Analysis
pair_align_functions_expomap

Align two functions using geometric properties of warping functions
multiple_align_functions

Group-wise function alignment to specified mean
gradient

Gradient using finite differences
outlier.detection

Outlier Detection
pair_align_functions

Align two functions
pcaTB

Tolerance Bound Calculation using Elastic Functional PCA
simu_warp_median

Aligned Simulated two Gaussian Dataset using Median
predict.lpcr

Elastic Prediction for functional logisitc PCR Model
elastic.regression

Elastic Linear Regression
rgam

Random Warping
pair_align_functions_bayes

Align two functions
sample_shapes

Sample shapes from model
invertGamma

Invert Warping Function
srsf_to_f

Convert SRSF to f
q_to_curve

Convert to curve space
im

Example Image Data set
reparam_curve

Align two curves
reparam_image

Find optimum reparameterization between two images
resamplecurve

Resample Curve
pair_align_image

Pairwise align two images This function aligns to images using the q-map framework
time_warping

Group-wise function alignment
warp_q_gamma

Warp SRSF
smooth.data

Smooth Functions
warp_f_gamma

Warp Function
vertFPCA

Vertical Functional Principal Component Analysis
toy_data

Distributed Gaussian Peak Dataset
simu_warp

Aligned Simulated two Gaussian Dataset
simu_data

Simulated two Gaussian Dataset
growth_vel

Berkley Growth Velocity Dataset
predict.pcr

Elastic Prediction for functional PCR Model
predict.mlpcr

Elastic Prediction for functional multinomial logisitc PCR Model
horizFPCA

Horizontal Functional Principal Component Analysis
toy_warp

Aligned Distributed Gaussian Peak Dataset