logLik.deformation.penalized: Compute the log likelihood function, which may include a...

Description Usage Arguments Value

View source: R/functions.R

Description

Used as the objective function in a call to optim

Usage

1
2
3
## S3 method for class 'deformation.penalized'
logLik(p, nu, grd, grd2, lambda,
  int = NULL, kappa = NULL, pen.type = "L2")

Arguments

p

covariance parameters (range, sill and nugget variances) and transformation parameters (x, y, z translations and 2d rotation) to be optimized over

nu

fixed smoothness parameter of the Matern covariance function

grd

three column data set 1

grd2

three column data set 2

lambda

multiplicative tuning parameter in the penalty term

pen.type

type of penalty term to apply ('L1', 'L2', 'elastic', or 'none')

Value

the value of the penalized likelihood function


ashtonwiens/gp.nonrigid.registration documentation built on April 11, 2020, 12:28 a.m.