Last updated: 2023-06-29

Checks: 1 1

Knit directory: Density_and_sexual_selection_2023/

This reproducible R Markdown analysis was created with workflowr (version 1.7.0). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


The R Markdown file has unstaged changes. To know which version of the R Markdown file created these results, you’ll want to first commit it to the Git repo. If you’re still working on the analysis, you can ignore this warning. When you’re finished, you can run wflow_publish to commit the R Markdown file and build the HTML.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version 6ec3c5c. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .Rhistory
    Ignored:    .Rproj.user/

Unstaged changes:
    Modified:   analysis/index.Rmd

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/index.Rmd) and HTML (docs/index.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
html 5a4e9a5 LennartWinkler 2023-04-12 Build site.
Rmd 6ecfaf7 LennartWinkler 2023-04-12 wflow_publish(all = T)
html 6ecfaf7 LennartWinkler 2023-04-12 wflow_publish(all = T)
html 55df7ff LennartWinkler 2023-04-12 Build site.
Rmd 37a3a35 LennartWinkler 2023-04-12 Set up
Rmd c8bd540 Lennart Winkler 2023-04-12 set up
html 899398a Lennart Winkler 2022-08-14 Build site.
Rmd d0d039c Lennart Winkler 2022-08-14 wflow_publish(all = T)
html 39e340c LennartWinkler 2022-08-13 new
Rmd f54f022 LennartWinkler 2022-08-13 wflow_publish(republish = TRUE, all = T)
html f54f022 LennartWinkler 2022-08-13 wflow_publish(republish = TRUE, all = T)
html f89f7c1 LennartWinkler 2022-08-10 Build site.
Rmd f4e661e LennartWinkler 2022-08-10 wflow_publish(republish = TRUE, all = T)
html f4e661e LennartWinkler 2022-08-10 wflow_publish(republish = TRUE, all = T)
html a92075d Lennart Winkler 2022-07-23 Build site.
Rmd 0b648d0 Lennart Winkler 2022-07-23 wflow_publish(all = T)
html 0b648d0 Lennart Winkler 2022-07-23 wflow_publish(all = T)
html e50644a Lennart Winkler 2022-07-22 Build site.
html 4de8636 Lennart Winkler 2022-07-22 Build site.
Rmd 2d60ef2 Lennart Winkler 2022-07-22 wflow_publish(all = T)
html 2d60ef2 Lennart Winkler 2022-07-22 wflow_publish(all = T)
Rmd c31e7ea Lennart Winkler 2022-07-21 start
html c31e7ea Lennart Winkler 2022-07-21 start

Supplementary material reporting R code for the manuscript ‘Population density affects sexual selection in an insect model’.

Code and figures can be found at:

- Part 1: Analyses on the effect of the treatment on contact rates
https://lennartwinkler.github.io/Density/index2.html

- Part 2: Testing the effect of density on mating behaviour and reproductive success
https://lennartwinkler.github.io/Density/index3.html

- Part 3: Sexual selection metrics
https://lennartwinkler.github.io/Density/index4.html

- Part 4: Variance decomposition
https://lennartwinkler.github.io/Density/index5.html

- Part 5: Total sexual selection on males
https://lennartwinkler.github.io/Density/index6.html