survspatNS: survspatNS function

Description Usage Arguments Value References See Also

View source: R/survspatNS.R

Description

A function to perform maximun likelihood inference for non-spatial survival data.

Usage

1

Arguments

formula

the model formula in a format compatible with the function flexsurvreg from the flexsurv package

data

a SpatialPointsDataFrame object containing the survival data as one of the columns

dist

choice of distribution function for baseline hazard. Current options are: exponentialHaz, weibullHaz, gompertzHaz, makehamHaz, tpowHaz

control

additional control parameters, see ?inference.control

Value

an object inheriting class 'mcmcspatsurv' for which there exist methods for printing, summarising and making inference from.

References

  1. Benjamin M. Taylor and Barry S. Rowlingson (2017). spatsurv: An R Package for Bayesian Inference with Spatial Survival Models. Journal of Statistical Software, 77(4), 1-32, doi:10.18637/jss.v077.i04.

See Also

tpowHaz, exponentialHaz, gompertzHaz, makehamHaz, weibullHaz, covmodel, linkExponentialCovFct, SpikedExponentialCovFct, mcmcpars, mcmcPriors, inference.control


spatsurv documentation built on May 29, 2017, 12:21 p.m.