calcarr: Calculate absolute risk reduction

Description Usage Arguments Value

View source: R/outcomes.R

Description

For a list of scenarios, calculate absolute risk reductions (ARRs) compared to the control scenario

Usage

1
calcarr(cummortlist, controlindex, reverse = FALSE)

Arguments

cummortlist

List of cummort() outputs

controlindex

Number indicating which cummortlist element is the control scenario

reverse

Set to TRUE to return -1*ARR

Value

Matrix of ARRs for each scenario/cummortlist element


cancerpolicy/bcimodel documentation built on Feb. 13, 2018, 2:06 p.m.