Learn R Programming

fdasrvf (version 2.4.0)

q_to_curve: Convert to curve space

Description

This function converts SRVFs to curves

Usage

q_to_curve(q, scale = 1)

Value

beta array describing curve

Arguments

q

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

scale

scale of from curve_to_q (default = 1)

References

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.

Examples

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

Run the code above in your browser using DataLab