Learn R Programming

psborrow (version 0.2.3)

get_summary: Generate summary statistics of a simulation scenario

Description

Generate summary statistics of a simulation scenario

Usage

get_summary(dt)

Value

a data.frame containing the mean and sd of posterior HR between treatment and control arm, the posterior mean and sd of HR between internal control and external control arm, reject rate, variance, bias and mse of the simulation set

Arguments

dt

a data.frame containing summary statistics for the posterior samples from each simulation