Learn R Programming

fdasrvf (version 2.2.0)

curve_to_q: Convert to SRVF space

Description

This function converts curves or multidimesional functional data to SRVF

Usage

curve_to_q(beta, scale = TRUE)

Value

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

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)

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

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

Run the code above in your browser using DataLab