Skip to content

Commit

Permalink
release prep
Browse files Browse the repository at this point in the history
  • Loading branch information
FredericBlum committed May 15, 2024
1 parent d0c917a commit 673e495
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 22 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ scripts/data_nofilter.tsv
scripts/models/*.rds
scripts/R_groundhog/
scripts/groundhog_libraries_2023-07-17/
*.sh
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ Now you are in a folder full of R-Scripts. The first script `00_setup.R` include
Rscript 00_setup.R
```

Please not that the two scripts which run the brms-model are currently commented out. This has a simple reason: Running them takes several days. If you want to re-run the model, please go to the respective script and run it from there, or un-comment the line in `00_setup.R`. We provide the fitted model within our OSF-repository [here](https://osf.io/tc9zx/?view_only=a658d5da64a7431f87d993b71a8e184c) so that you do not need to re-run the model.
Please not that the two scripts which run the brms-model are currently commented out. This has a simple reason: Running them takes several days. If you want to re-run the model, please go to the respective script and run it from there, or un-comment the line in `00_setup.R`. We provide the fitted model within our OSF-repository [here](https:doi.org/10.17605/OSF.IO/TC9ZX) so that you do not need to re-run the model.

If you want to run code from within the individual R-files, please set the working directory to the `scripts`-folder so that all the code is run correctly.
2 changes: 1 addition & 1 deletion scripts/03_PriorModel.R
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ prior_box <- ppc_boxplot(raw_durations, priorsim_durations[4:8, ]) +
theme(legend.position="none") +
labs(title="Real and simulated data")

prior_overlay <- ppc_dens_overlay(raw_durations, priorsim_durations[1:100, ], alpha=0.5, size=0.7, adjust=1) +
prior_overlay <- ppc_dens_overlay(raw_durations, priorsim_durations[1:8, ], alpha=0.5, size=0.7, adjust=1) +
scale_x_log10(breaks=c(2, 5, 10, 30, 100, 500, 2000, 5000), limit=c(1, 5000), name="")

prior_overlay$scales$scales[[1]]$labels <- c("data", "prior")
Expand Down
Binary file modified scripts/images/prior_simData.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified scripts/images/viz_prior_newdata.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 0 additions & 10 deletions scripts/init_length.sh

This file was deleted.

10 changes: 0 additions & 10 deletions scripts/residuals.sh

This file was deleted.

0 comments on commit 673e495

Please sign in to comment.