# Annualized treatment costs

Source: `R/costmods.R`
`annualized_tx_costs.Rd`

Compute annualized drug acquisition and administration costs.

    annualized_tx_costs(x = iviNSCLC::params_costs_tx)

## Arguments

x | An object in the same format as `params_costs_tx`.

## Value

An object of class "annualized_tx_costs", which is a `data.table` of annualized treatment costs. Contains the columns:

agent

  See description from the `dosage` element from `params_costs_tx`.

treatment

  See description from the `dosage` element from `params_costs_tx`.

dosage

  See description from the `dosage` element from `params_costs_tx`.

dose

  See description from the `dosage` element from `params_costs_tx`.

unit

  See description from the `dosage` element from `params_costs_tx`.

units_per_day

  See description from the `dosage` element from `params_costs_tx`.

duration_days

  See description from the `dosage` element from `params_costs_tx`.

discount_lower

  See description from the `discount` element from `params_costs_tx`.

discount_upper

  See description from the `discount` element from `params_costs_tx`.

acquisition_costs

  Annualized drug acquisition costs.

administration_costs

  Annualized drug administration costs.

## See also

`params_costs_tx`

## Examples

    annualized_tx_costs(iviNSCLC::params_costs_tx)#>        agent_name                                               dosage    dose
    #>  1:      afatinib                             40 mg orally, once daily   40.00
    #>  2:  atezolizumab  1200 mg as an IV infusion over 60 min every 3 weeks 1200.00
    #>  3:   bevacizumab 15mg/kg IV every 3 weeks with carboplatin/paclitaxel 1111.95
    #>  4:     cisplatin                   75mg/m2, 1x/cycle, 6 21-day cycles  142.50
    #>  5:   dacomitinib                             45 mg orally, once daily   45.00
    #>  6:     erlotinib                            150 mg orally, once daily  150.00
    #>  7:     gefitinib                                 250 mg orally, daily  250.00
    #>  8:     nivolumab         240 mg every 2 weeks or 480 mg every 4 weeks  240.00
    #>  9:   osimertinib                             80 mg orally, once daily   80.00
    #> 10: pembrolizumab                                 200 mg every 3 weeks  200.00
    #> 11:    pemetrexed                    500 mg, 1x/cycle, 6 21-day cycles  500.00
    #>                                     unit units_per_day duration_days
    #>  1:                          40mg tablet    1.00000000           Inf
    #>  2:                     1200mg/20ml vial    0.04761905           730
    #>  3:                   3 400mg/16ml vials    0.04761905           Inf
    #>  4: 1 100mg/100ml vial, 1 50mg/50ml vial    0.04761905           126
    #>  5:                          45mg tablet    1.00000000           Inf
    #>  6:                         150mg tablet    1.00000000           Inf
    #>  7:                         250mg tablet    1.00000000           Inf
    #>  8:             2 100mg/10ml, 1 40mg/4ml    0.07142857           730
    #>  9:                          80mg tablet    1.00000000           Inf
    #> 10:                     2 100mg/4ml vial    0.04761905           730
    #> 11:                           500mg vial    0.04761905           126
    #>     acquisition_costs administration_costs
    #>  1:        85852.0125                0.000
    #>  2:         7722.8982             2368.037
    #>  3:        10395.7977             1595.273
    #>  4:          861.1204             1595.273
    #>  5:       148799.1975                0.000
    #>  6:       102895.7950                0.000
    #>  7:        93890.7998                0.000
    #>  8:        20522.4452             3552.056
    #>  9:       177955.5223                0.000
    #> 10:        40435.2621             2368.037
    #> 11:        58833.0786             2368.037