Learn R Programming

BayesFBHborrow (version 2.0.2)

.predictive_hazard: Predictive hazard from BayesFBHborrow object

Description

Predictive hazard from BayesFBHborrow object

Usage

.predictive_hazard(out_slam, x_pred, beta_samples)

Value

matrix of the predictive hazard

Arguments

out_slam

samples from the smoothed baseline hazard

x_pred

set of predictors to be used for calculating the predictive hazard

beta_samples

samples of the covariates