Description Usage Arguments Value
Prep Price Data
1 | prep_price_data(price_by_drug, rxcui_codes, n_quant, price_var)
|
price_by_drug |
data.table with average price and number of observations by g_rxcu code/coverage arm. Columns should be named as follows: g_rxcui, arm, oop_cost, obs |
rxcui_codes |
character vector of g_rxcui code(s) of interest |
n_quant |
number of quantiles to cut the price variable into |
price_var |
price variable to use for cutting price into quantiles |
data.table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.