Skip to content

spBayesSurv

1.1.9

Bayesian Modeling and Analysis of Spatially Correlated Survival Data

0packages depend
6.1Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Haiming ZhouFirst published 2014-06-1217 releasesCRAN page ↗

Provides several Bayesian survival models for spatial/non-spatial survival data: proportional hazards (PH), accelerated failure time (AFT), proportional odds (PO), and accelerated hazards (AH), a super model that includes PH, AFT, PO and AH as special cases, Bayesian nonparametric nonproportional hazards (LDDPM), generalized accelerated failure time (GAFT), and spatially smoothed Polya tree density estimation. The spatial dependence is modeled via frailties under PH, AFT, PO, AH and GAFT, and via copulas under LDDPM and PH. Model choice is carried out via the logarithm of the pseudo marginal likelihood (LPML), the deviance information criterion (DIC), and the Watanabe-Akaike information criterion (WAIC). See Zhou, Hanson and Zhang (2020) doi:10.18637/jss.v092.i09.

Install

Health

CRAN checks
13OK
Slowest check: 11.4 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
7
Dependencies · direct
Check history
  • OK2026-06-08
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
not tracked
Return-value docs
not tracked
References docs
75%

Downloads

6.1K
CRAN downloads in the past year
Rank #9,305 · ~17/day · ~507/mo
Daily download trend is not available in this view yet.
34830 days
1.2K90 days
6.1K1 year
Compare downloads with other packages →
Also on472 r2u29 autocran80 c2d4u

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0.0
Imports (7)
RcppsurvivalcodamethodsMASSfieldssplines
LinkingTo (2)
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
C++ 11,939 (59%)R 5,283 (26%)Rd 2,313 (11%)C 649 (3%)
Code characteristics
Object systems
S332
Cyclomatic complexity
4.0 median / 122 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

230 0 exported

Complexity

15.6 avg / 122 max

Call network

230 nodes / 291 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Datasets

Bundled datasets · 1
NameClassRows × ColsAlso ships in
LeukSurvdata.frame1,043 × 9in 2 packages

People & History

People (2)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (2)
Author, Maintainer, Copyright holder
Author · added in 1.1.2
Copyright holders (1)
Author, Maintainer, Copyright holder
Listed in earlier versions (1)
no longer listed · 1.0.0 to 1.1.1
Package Timeline

17 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.9Latest
    2025-07-23 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.8
    2024-02-23 · diff ↗
  • 1.1.7
    2023-05-17 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.1.6
    2022-05-15 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.1.5
    2021-01-26 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.1.4
    2020-02-23 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1.3
    2018-04-23 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
Show 14 earlier events
  • 1.1.2
    2018-01-11 · diff ↗
  • 1.1.1
    2017-05-15 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.1.0
    2017-03-31 · diff ↗
  • 1.0.6
    2016-12-14 · diff ↗
  • 1.0.5
    2016-10-10 · diff ↗
  • 1.0.4
    2016-08-17 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 1.0.3
    2015-09-01 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 1.0.2
    2014-12-19 · diff ↗
  • 1.0.1
    2014-10-25 · diff ↗
  • 1.0.0
    2014-06-12
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2014-06-12
Total releases
17 / 12 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.0.0
Bundled data
17 KB / 1 file
Download size
224 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →