resamplecurve {fdasrvf} | R Documentation |
Resample Curve
Description
This function resamples a curve to a number of points
Usage
resamplecurve(x, N = 100, mode = "O")
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 |
Value
xn matrix defining resampled curve
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
xn <- resamplecurve(beta[, , 1, 1], 200)
[Package fdasrvf version 2.3.1 Index]