% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/WarpKrigingClass.R
\name{fit.WarpKriging}
\alias{fit.WarpKriging}
\title{Fit a WarpKriging model to data}
\usage{
\method{fit}{WarpKriging}(
  object,
  y,
  X,
  regmodel = "constant",
  normalize = FALSE,
  optim = "BFGS+Adam",
  objective = "LL",
  parameters = NULL,
  noise = NULL,
  ...
)
}
\arguments{
\item{object}{WarpKriging object (created with the constructor or an
empty-kernel call)}

\item{y}{numeric vector of observations (n)}

\item{X}{numeric matrix of inputs (n x d)}

\item{regmodel}{trend: "constant", "linear", "quadratic"}

\item{normalize}{logical; normalise continuous inputs?}

\item{optim}{optimiser}

\item{objective}{"LL" (log-likelihood)}

\item{parameters}{optional named list of tuning parameters}

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

\item{...}{ignored}
}
\value{
No return value. WarpKriging object argument is modified.
}
\description{
(Re-)fit an already-constructed WarpKriging object on new
  data.  The warping specification and kernel are kept from construction.
}
