The goal of PROMISE.desc is to provide functions commonly used to describe the PROMISE dataset (e.g. show incident cases, changes over time, etc).
# install.packages("devtools")
devtools::install_github("lwjohnst86/PROMISE.desc")
Here is one function to show an example of a function from PROMISE.desc:
library(PROMISE.desc)
example_data %>%
desc_incidence("DM") %>%
desc_table(caption = "Example data of incident cases at each time.")
| Disease | Status | 1 | 3 | 6 | |:-------:|:--------------:|:---:|:---:|:---:| | DM | Healthy | 100 | 171 | 196 | | DM | Incident cases | - | 8 | 4 | | DM | - | 370 | 191 | 91 |
More information on specific use can be found in the vignette.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.