View source: R/make_dummy_data.R
make_dummy_data | R Documentation |
Creates a dummy dataset for testing and development.
make_dummy_data(n_studies)
n_studies |
number of studies to simulate. |
The function takes the existing data and uses it as the basis of the dummy studies. This means that studies that are created can only have exposure/outcome combinations that are already in the original data.
In addition, the function returns two additional dataframes that contain the different levels for outcomes and exposures.
A list with the created dataset, and the exposure/outcome keys.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.