Learn R Programming

hesim (version 0.5.5)

costs: Costs object

Description

An object of class costs returned from methods $sim_costs() in model classes that store simulated costs.

Arguments

Components

A costs object inherits from data.table and contains the following columns:

sample

A random sample from the PSA.

strategy_id

The treatment strategy ID.

patient_id

The patient ID.

grp_id

The subgroup ID.

state_id

The health state ID.

dr

The rate used to discount costs.

category

The cost category (e.g., drug costs, medical costs, etc).

costs

The simulated cost values.