Learn R Programming

GUIgems (version 0.1)

countCost: Counts a cost of the interventions in the cohort

Description

Counts a cost of the intervention based on the cost data and the times spent in each state.

Usage

countCost(cohort, cost)

Arguments

cohort
a cohort simulated in simulateCohort()
cost
a list of lists:stateCost, units and qalys defining costs of basic units of cost, cost per state expressed in basic units and QALY for each state.

Value

c("qaly","cost") qaly an average QALY for an individual in the cohort cost an average cost for an individual in the cohort