make_dummy_data: Create dummy data

View source: R/make_dummy_data.R

make_dummy_dataR Documentation

Create dummy data

Description

Creates a dummy dataset for testing and development.

Usage

make_dummy_data(n_studies)

Arguments

n_studies

number of studies to simulate.

Details

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.

Value

A list with the created dataset, and the exposure/outcome keys.


tarensanders/screen_viz documentation built on June 18, 2022, 11:25 p.m.