pred_surv: Posterior prediction of survival outcome

Description Usage Arguments Value

Description

This function predicts the survival from the draws of the posterior.

Usage

1
pred_surv(post, longdata)

Arguments

post

posterior draws in matrix format

strata

strata

obs

original dataframe defaults to ic2surv

Value

d a plot dataset


csetraynor/survbayes2 documentation built on May 30, 2019, 4:06 a.m.