curve_to_q {fdasrvf}R Documentation

Convert to SRVF space

Description

This function converts curves or multidimesional functional data to SRVF

Usage

curve_to_q(beta, scale = TRUE)

Arguments

beta

either a matrix of shape n \times T describing curve or multidimensional functional data in R^n, where n is the dimension and T is the number of time points

scale

scale curve to unit length (default = TRUE)

Value

a numeric array of the same shape as the input array beta storing the SRVFs of the original curves.

References

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

Examples

q <- curve_to_q(beta[, , 1, 1])$q

[Package fdasrvf version 2.2.0 Index]