# Treatment attribute performance

Source: `R/mcda.R`
`txattr_performance.Rd`

Compute performance for multi criteria decision analysis (MCDA) criteria related to treatment attributes.

    txattr_performance(struct, patients, econmod,
      treatments = iviNSCLC::treatments)

## Arguments

struct | A `model_structure` object.
patients | A data table returned from `create_patients`.
econmod | An economic model of class `"IndivCtstm"`. Disease progression must have been previously simulated (i.e., `$disprog_` cannot be `NULL`.)
treatments | An object in the same format as `treatments`.

## Value

A `data.table` with four columns:

sample

  `sample` from `econmod$disprog_`

strategy_id

  `strategy_id` from `econmod$disprog_`

route

  Route of administration, weighted by the time each simulated patient uses each therapy in a treatment sequence. Oral administration is given a value of 1 and intravenous administration is given a value of 0.

yrs_since_approval

  Years since FDA approval, weighted by the time each simulated patient uses each therapy in a treatment sequence.

## See also

See the example in the tutorial.