Description Usage Arguments Value
View source: R/landmark_warp.R
Warps a list of curves by matching landmarks to provided template landmarks.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | landmark_warp(
y_list,
feat_list,
template_feats,
niter = 1000,
nburn = 1000,
int_p = 20,
asig = 0.1,
bsig = 0.1,
at = 0.1,
bt = 0.1,
progress = TRUE,
debug = FALSE
)
|
y_list |
list of curves with equal length |
feat_list |
list of feature vectors with equal length |
template_feats |
a feature vector with length mathing those in feat_list |
niter, nburn |
MCMC iterations and burns. Total run time is the sum. |
int_p |
number of internal knots specified for the data curves |
asig, bsig, at, bt |
hyperparameters for inverse gamma priors on model variances |
progress |
logical; indicates whether or not to print percent progress. |
debug |
logical; stops function right before return and enters debug mode. |
a list of warped curves and an estimated mean curve. List elements are vectors with length matching the elements of y_list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.