covmodel: covmodel function

Description Usage Arguments Value See Also

Description

A function to define the spatial covariance model, see also ?CovarianceFct. Note that the parameters defined by the 'pars' argument are fixed, i.e. not estimated by the MCMC algorithm. To have spatsurv estimate these parameters, the user must construct a new covariance function to do so, see the spatsurv vignette.

Usage

1
covmodel(model, pars)

Arguments

model

correlation type, a string see ?CovarianceFct

pars

vector of additional parameters for certain classes of covariance function (eg Matern), these must be supplied in the order given in ?CovarianceFct and are not estimated

Value

an object of class covmodel

See Also

CovarianceFct


bentaylor1/spatsurv documentation built on May 12, 2019, 3:02 p.m.