Skip to content

spatsurv

2.0-1Package record

Bayesian Spatial Survival Analysis with Parametric Proportional Hazards Models

0packages depend
8.4Kdownloads / year
21.8%test coverage
11/13flavors OK

Overview

About

Bayesian inference for parametric proportional hazards spatial survival models; flexible spatial survival models. See Benjamin M. Taylor, Barry S. Rowlingson (2017) doi:10.18637/jss.v077.i04.

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Benjamin M. Taylor <benjamin.taylor.software@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("Benjamin", "M."),
                      family = "Taylor",
                      role = c("aut", "cre"),
                      email = "benjamin.taylor.software@gmail.com"),
               person(given = c("Barry", "S.", "Rowlingson", "Additional", "contributions", "Ziyu"),
                      family = "Zheng",
                      role = "aut"))
as necessary.

CRAN check page ↗

Slowest check: 10.3 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTE2026-06-08
  • ERROR11 OK, 1 NOTE, 1 ERROR2026-06-07
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.0-1
READMEYes · 30 wordsVignettesNoNEWSYes · 0% structuredCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Cites a JSS article
Help pages
169includes a package overview page
Examples that run
67%2 run in a plain check · 1 never run
Exported functions with examples
1%
Documented parameters
99%
Return-value docs
95%
Help pages citing references
10%

Downloads

8.4K
CRAN downloads in the past year
Rank #5,608 · ~23/day · ~698/mo
Daily download trend is not available in this view yet.
52830 days
1.5K90 days
8.4K1 year
Compare downloads with other packages →
Also on71 r2u4 autocran143 c2d4u

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing spatsurv adds 43 packages (32 with compiled code, 54 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, sp 4.3 MB.

Depends (1)
R >= 2.10
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (from the free-text Author field) (2)

Maintainer since 0.9 (2013)

Listed in earlier versions (1)
no longer listed · 0.9 to 0.9-11
Releases (24)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 2.0-1Latest
    record
    2023-10-19 · current release · diff ↗
  • 2.0
    record
    2023-10-02 · diff ↗ ·
    removed 4 exports
    getBackground, spplot1, spplot_compare, urlTemplate
  • R
    R 4.3.0 released · 2023-04-21
  • 1.8-2
    record
    2022-11-22 · diff ↗
  • unarchivedReturned to CRAN
    2022-05-06
  • 1.8
    record
    2022-05-06 · diff ↗
  • archivedRemoved from CRAN
    2022-05-04
    requires archived package 'RandomFields'
  • R
    R 4.2.0 released · 2022-04-22
  • 1.7
    record
    2022-03-02 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • unarchivedReturned to CRAN
    2021-03-31
  • 1.6
    record
    2021-03-31 · diff ↗
  • archivedRemoved from CRAN
    2021-03-29
    check problems were not corrected in time
Show 26 earlier eventsHide 26 earlier events
  • 1.5
    record
    2020-04-26 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.4
    record
    2020-03-05 · diff ↗ ·
    added 3 exports
    TwoWayHazAdditive, baselinehazard_multiWay, rootWeibullHaz
  • R
    R 3.6.0 released · 2019-04-26
  • 1.2
    record
    2018-05-22 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 1.1
    record
    2017-03-23 · diff ↗
  • 1.0
    record
    2017-03-07 · diff ↗
  • 0.9-14
    record
    2016-10-24 · diff ↗ ·
    added 4 exports
    blockDiag, fixParHaz, insert, multiWayHaz
  • 0.9-12
    record
    2016-06-29 · diff ↗ ·
    added 14 exports
    Independent, PsplineHaz, baseHazST, boxplotRisk, derivindepGaussianpriorST, derivpsplineprior, gamma2risk, imputationModel, indepGaussianpriorST, omegapriorGaussST, optifix, psplineRWprior, psplineprior, timevaryingPL
  • R
    R 3.3.0 released · 2016-05-03
  • 0.9-11
    record
    2015-10-21 · diff ↗ ·
    added 5 exports
    Summarise, getOptCellwidth, getbb, showGrid, textSummary
  • 0.9-10
    record
    2015-07-10 · diff ↗ ·
    added 2 exports
    getBackground, getgrd
  • 0.9-9
    record
    2015-06-03 · diff ↗ ·
    added 27 exports
    B, Bspline.construct, CSplot, GammaFromY_SPDE, SPDE, SPDEprec, YFromGamma_SPDE, allocate, alpha, cumulativeBspline.construct, getBbasis, getGrid, gridY_polygonal, logPosterior_SPDE, logPosterior_polygonal, midpts, neighLocs, neighOrder, polyadd, polymult, proposalVariance_SPDE, proposalVariance_polygonal, reconstruct.bs, setupPrecMatStruct, spplot1, spplot_compare, urlTemplate
  • R
    R 3.2.0 released · 2015-04-16
  • 0.9-8
    record
    2014-11-13 · diff ↗ ·
    added 2 exports
    BsplineHaz, survspatNS
  • 0.9-7
    record
    2014-09-12 · diff ↗ ·
    added 1 export
    getleneta
  • 0.9-6
    record
    2014-07-15 · diff ↗ ·
    removed 29 exports
    basehazard.exp, basehazard.weibull, cumbasehazard.exp, cumbasehazard.weibull, densityquantile.exp, densityquantile.weibull, derivlogindepGaussianprior, exp_ltar, gensens, getomegatrans, gradbasehazard.exp, gradbasehazard.weibull, gradcumbasehazard.exp, gradcumbasehazard.weibull, hessbasehazard.exp, hessbasehazard.weibull, hesscumbasehazard.exp, hesscumbasehazard.weibull, invtransformestimates.exp, invtransformestimates.weibull, labelomegamatrix, logindepGaussianprior, logindepnormalprior, logposterior_exponential_nospat, proposalvariance_exponential_nospat, survexpon, transformestimates.exp, transformestimates.weibull, weibull_ltar
    added 28 exports
    .onAttach, Et_PP, MCE, NonSpatialLogLikelihood_or_gradient, basehazard, cumbasehazard, densityquantile, derivindepGaussianprior, distinfo, exponentialHaz, gencens, getcov, gompertzHaz, gradbasehazard, gradcumbasehazard, guess_t, hazardexceedance, hessbasehazard, hesscumbasehazard, indepGaussianprior, invtransformweibull, makehamHaz, maxlikparamPHsurv, priorposterior, spatsurvVignette, tpowHaz, transformweibull, weibullHaz
  • 0.9-5
    record
    2014-06-25 · diff ↗ ·
    removed 21 exports
    basehaz.exp, basehaz.weibull, density_exp, density_weibull, densityquantile_exp, densityquantile_weibull, estimateY.exp, estimateY.weibull, hazard_exp, hazard_weibull, logposterior.exp, logposterior.exp.gridded, logposterior.gamma, logposterior.weibull, logposterior.weibull.gridded, proposalvariance.exp, proposalvariance.exp.gridded, proposalvariance.weibull, proposalvariance.weibull.gridded, survival_exp, survival_weibull
    added 24 exports
    basehazard.exp, basehazard.weibull, cumbasehazard.exp, cumbasehazard.weibull, density_PP, densityquantile.exp, densityquantile.weibull, densityquantile_PP, estimateY, gradbasehazard.exp, gradbasehazard.weibull, gradcumbasehazard.exp, gradcumbasehazard.weibull, hazard_PP, hessbasehazard.exp, hessbasehazard.weibull, hesscumbasehazard.exp, hesscumbasehazard.weibull, logPosterior, logPosterior_gridded, proposalVariance, proposalVariance_gridded, setupHazard, survival_PP
  • 0.9-3
    record
    2014-06-16 · diff ↗ ·
    added 21 exports
    basehaz.exp, basehaz.weibull, baselinehazard, checkSurvivalData, density_exp, density_weibull, densityquantile_exp, densityquantile_weibull, fixedpars, frailtylag1, getomegatrans, getsurvdata, hazard_exp, hazard_weibull, hazardpars, labelomegamatrix, posteriorcov, randompars, spatialpars, survival_exp, survival_weibull
  • 0.9-2
    record
    2014-05-13 · diff ↗ ·
    removed 2 exports
    mcmcProgressTk, quadapprox
    added 6 exports
    EvalCov, ExponentialCovFct, QuadApprox, SpikedExponentialCovFct, fixmatrix, getparranges
  • R
    R 3.1.0 released · 2014-04-10
  • 0.9-1
    record
    2014-03-27 · diff ↗ ·
    added 18 exports
    FFTgrid, GammafromY, YfromGamma, circulant, circulantij, grid2spdf, grid2spix, grid2spts, gridY, inference.control, invtransformestimates.exp, invtransformestimates.weibull, logposterior.exp.gridded, logposterior.weibull.gridded, plotsurv, proposalvariance.exp.gridded, proposalvariance.weibull.gridded, surv3d
  • 0.9
    record
    2014-01-14
  • R
    R 3.0.0 released · 2013-04-03

Package metadata

First published
2014-01-14
Total releases
24 / 12 yrs
License
GPL-3 OSI
Minimum R
≥ 2.10
Bundled data
211 KB / 2 files
Download size
355 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("spatsurv")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.18637/jss.v077.i04.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for spatsurv version 2.0-1 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy