Helper functions for calculating Procrustes data curve from rotation, scaling and translation parameters.
Source:R/get_procrustes_fit.R
get_Procrustes_fit_from_param.Rd
Compute the Procrustes fit given optimal rotation, scaling and translation.
Arguments
- data_curve
A
data.frame
with observed points on a curve. Each row is one point, each variable one coordinate direction. If there is a variablet
, it is treated as the time parametrization, not as an additional coordinate.- rot
The rotation (in radian).
- scale
The scaling.
- plength
The polygon length of the original curve.
- trans
The translation.
- norm_factor
The normalization factor from the smooth curve estimate.