landmark_warp: Landmark Warping

Description Usage Arguments Value

View source: R/landmark_warp.R

Description

Warps a list of curves by matching landmarks to provided template landmarks.

Usage

 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
)

Arguments

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.

Value

a list of warped curves and an estimated mean curve. List elements are vectors with length matching the elements of y_list.


wzhorton/warptk documentation built on Nov. 14, 2020, 10:01 p.m.