BSBPlotSumm: Plot summaries for BSBHaz model

View source: R/BSBPlotSumm.R

BSBPlotSummR Documentation

Plot summaries for BSBHaz model

Description

Plot summaries for BSBHaz model

Usage

BSBPlotSumm(bsbhaz, variable = c("lambda1", "lambda2", "s1", "s2"))

Arguments

bsbhaz

An object of class 'BSBHaz' created by BSBHaz.

variable

A character indicating the variable to plot.

Examples

t1 <- survival::Surv(c(1, 2, 3))
t2 <- survival::Surv(c(1, 2, 3))

init <- BSBInit(t1 = t1, t2 = t2, seed = 0)
samples <- BSBHaz(init, iter = 10, omega_d = 2,
gamma_d = 10, seed = 10)

BSBPlotSumm(samples, "s1")

BGPhazard documentation built on Sept. 3, 2023, 5:09 p.m.