Learn R Programming

spatsurv

Spatial Survival Analysis R Package

The GitHub Version of this package is the developmental version.

The latest checked and tested version is available on CRAN, click HERE.

Copy Link

Version

Install

install.packages('spatsurv')

Monthly Downloads

872

Version

2.0

License

GPL-3

Maintainer

Last Published

October 2nd, 2023

Functions in spatsurv (2.0)

EvalCov

EvalCov function
Summarise

Summarise function
QuadApprox

QuadApprox function
Independent

Independent function
basehazard.basehazardspec

basehazard.basehazardspec function
MCE

MCE function
TwoWayHazAdditive

TwoWayHazAdditive function
SPDE

SPDE function
PsplineHaz

PsplineHaz function
NonSpatialLogLikelihood_or_gradient

NonSpatialLogLikelihood_or_gradient function
allocate

allocate function
baselinehazard

baselinehazard function
SpikedExponentialCovFct

SpikedExponentialCovFct function
baselinehazard_multiWay

baselinehazard_multiWay function
YfromGamma

YfromGamma function
YFromGamma_SPDE

YFromGamma_SPDE function
SPDEprec

SPDEprec function
circulant.numeric

circulant.numeric function
circulant.matrix

circulant.matrix function
distinfo

distinfo function
baseHazST

baseHazST function
circulantij

circulantij function
basehazard

basehazard function
covmodel

covmodel function
cumulativeBspline.construct

cumulativeBspline.construct function
density_PP

density_PP function
fs

London Fire Brigade property
fixmatrix

fixmatrix function
frailtylag1

frailtylag1 function
getleneta

getleneta function
distinfo.basehazardspec

distinfo.basehazardspec function
alpha

alpha function
betapriorGauss

betapriorGauss function
blockDiag

A function to
boxplotRisk

boxplotRisk function
fstimes

London Fire Brigade response times to dwelling fires, 2009
getGrid

getGrid function
getBbasis

getBbasis function
hazard_PP

hazard_PP function
hazardexceedance

hazardexceedance function
densityquantile

densityquantile function
getparranges

getparranges function
iteration

iteration number
is.retain

do we retain this iteration?
maxlikparamPHsurv

maxlikparamPHsurv function
gamma2risk

gamma2risk function
grid2spts

grid2spts function
estimateY

estimateY function
gencens

gencens function
.onAttach

.onAttach function
gradbasehazard

gradbasehazard function
gridY_polygonal

gridY_polygonal function
mcmcLoop

iterator for MCMC loops
densityquantile.basehazardspec

densityquantile.basehazardspec function
gradbasehazard.basehazardspec

gradbasehazard.basehazardspec function
guess_t

guess_t function
cumbasehazard

cumbasehazard function
derivindepGaussianpriorST

derivindepGaussianpriorST function
cumbasehazard.basehazardspec

cumbasehazard.basehazardspec function
derivpsplineprior

derivpsplineprior function
etapriorGauss

etapriorGauss function
multiWayHaz

multiWayHaz function
hasNext

generic hasNext method
gridY

gridY function
hasNext.iter

hasNext.iter function
indepGaussianprior

indepGaussianprior function
getOptCellwidth

getOptCellwidth function
getbb

getbb function
gompertzHaz

gompertzHaz function
getsurvdata

getsurvdata function
neighLocs

neighLocs function
exponentialHaz

exponentialHaz function
proposalVariance

proposalVariance function
posteriorcov

posteriorcov function
polymult

polymult function
grid2spdf

grid2spdf function
hessbasehazard.basehazardspec

hessbasehazard.basehazardspec function
hesscumbasehazard.basehazardspec

hesscumbasehazard.basehazardspec function
grid2spix

grid2spix function
hesscumbasehazard

hesscumbasehazard function
indepGaussianpriorST

indepGaussianpriorST function
mcmcPriors

mcmcPriors function
imputationModel

imputationModel function
mcmcProgressNone

null progress monitor
loop.mcmc

loop over an iterator
makehamHaz

makehamHaz function
omegapriorGaussST

omegapriorGaussST function
print.mcmcspatsurv

print.mcmcspatsurv function
omegapriorGauss

omegapriorGauss function
checkSurvivalData

checkSurvivalData function
circulant

circulant function
neighOrder

neighOrder function
nextStep

next step of an MCMC chain
densityquantile_PP

densityquantile_PP function
derivindepGaussianprior

derivindepGaussianprior function
print.mlspatsurv

print.mlspatsurv function
quantile.mcmcspatsurv

quantile.mcmcspatsurv function
fixParHaz

fixParHaz function
getcov

getcov function
fixedpars

fixedpars function
getgrd

getgrd function
polyadd

polyadd function
plotsurv

plotsurv function
setupHazard

setupHazard function
hazardpars

hazardpars function
proposalVariance_SPDE

proposalVariance_SPDE function
mcmcProgressPrint

printing progress monitor
setTxtProgressBar2

set the progress bar
rootWeibullHaz

rootWeibullHaz function
setupPrecMatStruct

setupPrecMatStruct function
survival_PP

survival_PP function
transformweibull

transformweibull function
txtProgressBar2

A text progress bar with label
survspat

survspat function
spatialpars

spatialpars function
randompars

randompars function
quantile.mlspatsurv

quantile.mlspatsurv function
reconstruct.bs

reconstruct.bs function
mcmcProgressTextBar

text bar progress monitor
predict.mcmcspatsurv

predict.mcmcspatsurv function
print.mcmc

print.mcmc function
gradcumbasehazard

gradcumbasehazard function
print.textSummary

print.textSummary function
reconstruct.bs.coxph

reconstruct.bs.coxph function
priorposterior

priorposterior function
reconstruct.bs.mcmcspatsurv

reconstruct.bs.mcmcspatsurv function
summary.mcmcspatsurv

summary.mcmcspatsurv function
simsurv

simsurv function
hessbasehazard

hessbasehazard function
showGrid

showGrid function
gradcumbasehazard.basehazardspec

gradcumbasehazard.basehazardspec function
surv3d

Spatial Survival Plot in 3D
timevaryingPL

timevaryingPL function
tpowHaz

tpowHaz function
spatsurv-package

spatsurv
vcov.mcmcspatsurv

vcov.mcmcspatsurv function
inference.control

inference.control function
survspatNS

survspatNS function
textSummary

textSummary function
insert

insert function
logPosterior_gridded

logPosterior_gridded function
vcov.mlspatsurv

vcov.mlspatsurv function
is.burnin

is this a burn-in iteration?
invtransformweibull

invtransformweibull function
logPosterior

logPosterior function
logPosterior_SPDE

logPosterior_SPDE function
optifix

optifix function
plot.FFTgrid

plot.FFTgrid function
psplineRWprior

psplineRWprior function
logPosterior_polygonal

logPosterior_polygonal function
mcmcpars

mcmcpars function
psplineprior

psplineprior function
resetLoop

reset iterator
residuals.mcmcspatsurv

resuiduals.mcmcspatsurv function
midpts

midpts function
spatsurvVignette

spatsurvVignette function
weibullHaz

weibullHaz function
summary.mcmc

summary.mcmc function
proposalVariance_polygonal

proposalVariance_polygonal function
proposalVariance_gridded

proposalVariance_gridded function
BsplineHaz

BsplineHaz function
B

B function
FFTgrid

FFTgrid function
ExponentialCovFct

ExponentialCovFct function
GammaFromY_SPDE

GammaFromY_SPDE function
CSplot

CSplot function
Bspline.construct

Bspline.construct function
GammafromY

GammafromY function
Et_PP

Et_PP function