Learn R Programming

fdasrvf (version 2.3.6)

resamplecurve: Resample Curve

Description

This function resamples a curve to a number of points

Usage

resamplecurve(x, N = 100, mode = "O")

Value

xn matrix defining resampled curve

Arguments

x

matrix defining curve (n,T)

N

Number of samples to re-sample curve, N usually is > T

mode

Open ("O") or Closed ("C") curves

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
xn <- resamplecurve(beta[, , 1, 1], 200)

Run the code above in your browser using DataLab