costs function

Costs object

Costs object

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

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.