Other packages > Find by keyword >

BayesPiecewiseICAR  

Hierarchical Bayesian Model for a Hazard Function
View on CRAN: Click here


Download and install BayesPiecewiseICAR package within the R console
Install from CRAN:
install.packages("BayesPiecewiseICAR")

Install from Github:
library("remotes")
install_github("cran/BayesPiecewiseICAR")

Install by package version:
library("remotes")
install_version("BayesPiecewiseICAR", "0.2.1")



Attach the package and use:
library("BayesPiecewiseICAR")
Maintained by
Andrew Chapple
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2016-07-27
Latest Update:
Description:
Fits a piecewise exponential hazard to survival data using a Hierarchical Bayesian model with an Intrinsic Conditional Autoregressive formulation for the spatial dependency in the hazard rates for each piece. This function uses Metropolis- Hastings-Green MCMC to allow the number of split points to vary. This function outputs graphics that display the histogram of the number of split points and the trace plots of the hierarchical parameters. The function outputs a list that contains the posterior samples for the number of split points, the location of the split points, and the log hazard rates corresponding to these splits. Additionally, this outputs the posterior samples of the two hierarchical parameters, Mu and Sigma^2.
How to cite:
Andrew Chapple (2016). BayesPiecewiseICAR: Hierarchical Bayesian Model for a Hazard Function. R package version 0.2.1, https://cran.r-project.org/web/packages/BayesPiecewiseICAR. Accessed 09 Jun. 2026.
Previous versions and publish date:
0.1.0 (2016-07-27 19:00), 0.1.1 (2016-07-29 18:31), 0.2.0 (2016-08-20 10:31), 0.2.1 (2017-01-04 10:56)
Other packages that cited BayesPiecewiseICAR R package
View BayesPiecewiseICAR citation profile
Other R packages that BayesPiecewiseICAR depends, imports, suggests or enhances
Functions, R codes and Examples using the BayesPiecewiseICAR R package
Some associated functions: ICARBHSampler . 
Some associated R codes: ICARBHSampler.R .  Full BayesPiecewiseICAR package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

stdReg  
Regression Standardization
Contains functionality for regression standardization. Four general classes of models are allowed; g ...
Download / Learn more Package Citations See dependency  
Formula  
Extended Model Formulas
Infrastructure for extended formulas with multiple parts on the right-hand side and/or multiple res ...
Download / Learn more Package Citations See dependency  
linemap  
Line Maps
Create maps made of lines. The package contains one function: linemap(). linemap() displays a map m ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
wheatmap  
Incrementally Build Complex Plots using Natural Semantics
Builds complex plots, heatmaps in particular, using natural semantics. Bigger plots can be assembled ...
Download / Learn more Package Citations See dependency  
handyplots  
Handy Plots
Several handy plots for quickly looking at the relationship between two numeric vectors of equal len ...
Download / Learn more Package Citations See dependency  

27,372

R Packages

233,548

Dependencies

72,820

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA