Skip to content

Instantly share code, notes, and snippets.

@monogenea

monogenea/6-poissonBA.R

Last active Oct 20, 2020
Embed
What would you like to do?
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")
@Qsheep

This comment has been minimized.

Copy link

@Qsheep Qsheep commented Oct 20, 2020

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.

@monogenea

This comment has been minimized.

Copy link
Owner Author

@monogenea monogenea commented Oct 20, 2020

Hi Qhseep, thanks for your inquiry, you are absolutely right. Although data.xlsx can be found in the repo this step does not work. I will look into it 👍 greetings

@monogenea

This comment has been minimized.

Copy link
Owner Author

@monogenea monogenea commented Oct 20, 2020

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

This comment has been minimized.

Copy link

@Qsheep 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

This comment has been minimized.

Copy link
Owner Author

@monogenea monogenea commented Oct 20, 2020

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