covmodel: covmodel function

Description Usage Arguments Value See Also

View source: R/covarianceFunctions.R

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


spatsurv documentation built on May 22, 2018, 5:09 p.m.