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.
correlation type, a string see ?CovarianceFct
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
an object of class covmodel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.