Learn R Programming

registr (version 1.0.0)

loss_h_gradient: Gradient of loss function for registration step

Description

Gradient of loss function for registration step

Usage

loss_h_gradient(
  Y,
  Theta_h,
  mean_coefs,
  knots,
  beta.inner,
  family = "gaussian",
  t_min,
  t_max
)

Value

A numeric vector of spline coefficients for the gradient of the loss function.

Arguments

Y

vector of observed points.

Theta_h

B-spline basis for inverse warping functions.

mean_coefs

spline coefficient vector for mean curve.

knots

knot locations for B-spline basis used to estimate mean and FPC basis function.

beta.inner

spline coefficient vector to be estimated for warping function h.

family

gaussian or binomial.

t_min

minimum value to be evaluated on the time domain.

t_max

maximum value to be evaluated on the time domain.

Author

Julia Wrobel jw3134@cumc.columbia.edu