View source: R/resamplecurve.R
resamplecurve | R Documentation |
This function resamples a curve to a number of points
resamplecurve(x, N = 100, mode = "O")
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 |
xn matrix defining resampled curve
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.
xn <- resamplecurve(beta[, , 1, 1], 200)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.