Learn R Programming

spsurv (version 1.1.0)

spread_surv_draws.spbp: Posterior survival curves in long tidy format

Description

Posterior survival curves in long tidy format

Usage

spread_surv_draws.spbp(object, times, newdata = NULL, ...)

Value

A data.frame with .chain, .iteration, .draw,

time, surv, and optional covariate columns.

Arguments

object

A Bayesian "spbp" fit.

times

Numeric vector of evaluation times.

newdata

Optional covariate profiles.

...

Not used.