fit.WarpKriging: Fit a WarpKriging model to data

View source: R/WarpKrigingClass.R

fit.WarpKrigingR Documentation

Fit a WarpKriging model to data

Description

(Re-)fit an already-constructed WarpKriging object on new data. The warping specification and kernel are kept from construction.

Usage

## S3 method for class 'WarpKriging'
fit(
  object,
  y,
  X,
  regmodel = "constant",
  normalize = FALSE,
  optim = "BFGS+Adam",
  objective = "LL",
  parameters = NULL,
  noise = NULL,
  ...
)

Arguments

object

WarpKriging object (created with the constructor or an empty-kernel call)

y

numeric vector of observations (n)

X

numeric matrix of inputs (n x d)

regmodel

trend: "constant", "linear", "quadratic"

normalize

logical; normalise continuous inputs?

optim

optimiser

objective

"LL" (log-likelihood)

parameters

optional named list of tuning parameters

noise

Either a numeric vector of per-observation noise variances, or "nugget" to estimate a homogeneous nugget, or NULL (default) for noise-free interpolation.

...

ignored

Value

No return value. WarpKriging object argument is modified.


rlibkriging documentation built on May 14, 2026, 1:06 a.m.