Description Usage Arguments Value Examples
View source: R/health_to_xml.R
This function aims to convert health data from data a frmae to XML format.
1 | health_to_xml(health_data, file = NULL)
|
health_data |
a data frame of health data, i.e. events occurred each day in the history known. |
file |
[chr] (default is NULL) if provided as
|
an (invisible) XML document
1 2 3 4 5 6 7 8 9 | library(imthcm)
## Not run:
data(test_health)
xml_health <- 'test_health.xml'
health_to_xml(test_health, file = xml_health)
events_history <- xml_to_health(file = xml_health)
identical(events_history, test_health)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.