Description Usage Arguments Value Examples
This function aims to convert cost data from data a frmae to XML format.
1 | cost_to_xml(cost_data, file = NULL)
|
cost_data |
a data frame of cost data, i.e. individual cost per event considered. |
file |
[chr] (default is NULL) if provided as
|
an (invisible) XML document
1 2 3 4 5 6 7 8 9 | ## Not run:
library(imthcm)
data(meps_costs)
xml_cost <- 'test_cost.xml'
cost_to_xml(meps_costs, file = xml_cost)
converted_costs <- xml_to_cost(file = xml_cost)
identical(converted_costs, meps_costs)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.