Skip to content

Instantly share code, notes, and snippets.

@monogenea
Last active October 20, 2020 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save monogenea/7e431b252afb8269d89ea369d6619d07 to your computer and use it in GitHub Desktop.
Save monogenea/7e431b252afb8269d89ea369d6619d07 to your computer and use it in GitHub Desktop.
library(rethinking)
library(tidyverse)
library(magrittr)
library(readxl)
# Download data set from Riehl et al. 2019
dataURL <- "https://datadryad.org/stash/downloads/file_stream/82205"
download.file(dataURL, destfile = "data.xlsx")
@monogenea
Copy link
Author

Hi, I think the Link for downloading the data excel is no longer working. This is pretty important for reproducing your work, from my point of view.

Problem solved - I looked it up and found the new link from Dryad. Thanks for raising this

@Qsheep
Copy link

Qsheep commented Oct 20, 2020

Hi, thank you for your response. I didn't really expect that, to be honest.
I was reading your R-blogger in Bayesian models in R, the link there doesn't work. So I actually had to search for several places until I finally locate the correct repo.
Anyway, I am amazed by how you use Bayesian models to simulate female cuckoo's laying egg behaviour. But there is so much trouble to install all necessary packages and I am looking for some Bayesian regression code of scratch.

@monogenea
Copy link
Author

No worries - I also noticed you forked the repo, so please make sure you replace the URL with the one above. I just updated the code from the two main R scripts accordingly (both are independent from the Gists used in the blog, unfortunately). Greetings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment