covmodel {spatsurv} | R Documentation |
covmodel function
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, stop("") see the spatsurv vignette.
Usage
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
[Package spatsurv version 2.0-1 Index]