Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add code and descriptions to the simulated datasets documentation #113

Closed
ntorresd opened this issue Aug 25, 2023 · 1 comment
Closed

Add code and descriptions to the simulated datasets documentation #113

ntorresd opened this issue Aug 25, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@ntorresd
Copy link
Member

The datasets simdata_constant, simdata_large_epi and simdata_sw_dec can be generated using the data simulation functions of the package. For instance, the code to generate simdata_sw_dec is:

no_transm <- 0.0000000001
foi_sim <- c(rep(0.2, 25), rep(0.1, 10), rep(no_transm, 15))

sim_data <- generate_sim_data(foi = foi_sim,
                              sample_size_by_age = 5,
                              tsur = 2050,
                              birth_year_min = 2000,
                              survey_label = 'sw_dec_foi',
                              seed = 1234)

We should add this, as well as a brief description of each dataset, to the corresponding R files.

@ntorresd ntorresd added the documentation Improvements or additions to documentation label Aug 25, 2023
@ntorresd ntorresd changed the title Add code and descroptions to the simulated datasets documentation Add code and descriptions to the simulated datasets documentation Aug 31, 2023
@ben18785
Copy link
Collaborator

Closing as #160 is going to replace simulated datasets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants