fit_mean | R Documentation |
Fits an elastic full Procrustes mean for open, planar curves.
Is usually called from compute_elastic_shape_mean
.
fit_mean(
srv_data_curves,
knots,
penalty,
var_type,
pfit_method,
max_iter,
type,
eps,
cluster,
verbose,
smooth_warp
)
srv_data_curves |
list of |
knots |
set of knots for the mean spline curve |
penalty |
the penalty to use in the covariance smoothing step. use '-1' for no penalty. |
var_type |
(experimental) assume "smooth", "constant" or "zero" measurement-error variance along t |
pfit_method |
(experimental) "smooth" or "polygon" |
max_iter |
maximal number of iterations |
type |
if "smooth" linear srv-splines are used which results in a differentiable mean curve if "polygon" the mean will be piecewise linear. |
eps |
the algorithm stops if L2 norm of coefficients changes less |
cluster |
a cluster object for use in the |
verbose |
print iterations |
smooth_warp |
(experimental) controls the weighting of original and smoothed observations over the iterations, if pfit_method == "smooth". |
a list
with entries
type |
"smooth" or "polygon" |
coefs |
|
knots |
spline knots |
penalty |
penalty used in the covariance estimation |
distances |
distances to mean |
fit |
a |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.