Learn R Programming

fdasrvf (version 2.3.6)

curve_karcher_cov: Curve Karcher Covariance

Description

Calculate Karcher Covariance of a set of curves

Usage

curve_karcher_cov(v, len = NA)

Value

K covariance matrix

Arguments

v

array of sizes \(n \times T \times N\) for \(N\) shooting vectors of dimension \(n\) evaluated on a grid of \(T\) points

len

lengths of curves (default = NA)

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
out <- curve_karcher_mean(beta[, , 1, 1:2], maxit = 2)
# note: use more shapes, small for speed
K <- curve_karcher_cov(out$v)

Run the code above in your browser using DataLab