Updates the model parameters of a hybrid_spde object.
Delegates the update of the covariance part to the underlying
spde.matern.operators() update method and additionally rebuilds the
operator used to evaluate the mean and recomputes the stored mean
vector.
Usage
# S3 method for class 'hybrid_spde'
update(object, X = NULL, beta_X = NULL, ..., kappa_mu = NULL)Arguments
- object
A
hybrid_spdeobject.- X
If non-null, update the covariate matrix.
- beta_X
If non-null, update the regression coefficients.
- ...
Additional arguments passed to the underlying update method of
spde.matern.operators().- kappa_mu
If non-null, update the range parameter of the operator used for the deterministic mean. Only meaningful when the model was constructed with a separate
kappa_mu; if the model was built withkappa_mu = NULL(linked tokappa), any explicit update is honoured but the model remains in linked mode unlessseparate_kappa_muis also set.
