Description Usage Arguments Value Examples
View source: R/3c_costing_resource_use_functions.R
Function to extract the unit hospital inpatient admission by matching description
1 2 3 4 5 6 7 | get_cost_ip_dc_description(
description,
ref_cost_data_file,
col_name_description,
unit_cost_col,
sheet = NULL
)
|
description |
description corresponding to the inpatient admission |
ref_cost_data_file |
file that has unit cost |
col_name_description |
name of the column that has the description |
unit_cost_col |
name of the column with the unit cost |
sheet |
sheet if excel file is given |
unit cost the unit cost matching the hrg code
1 2 3 4 5 | ref_cost_data_file <- system.file("extdata",
"National_schedule_of_NHS_costs_2019.csv", package = "packDAMipd")
result <- get_cost_ip_dc_description("Cerebrovascular Accident",
ref_cost_data_file, "Currency_Description",
"National_Average_Unit_Cost")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.