Skip to content

Instantly share code, notes, and snippets.

@monogenea
Created October 7, 2019 17:45
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/df07208c20a045c27afb9b37d2a7bed9 to your computer and use it in GitHub Desktop.
Save monogenea/df07208c20a045c27afb9b37d2a7bed9 to your computer and use it in GitHub Desktop.
lik <- dbinom(x = 8, prob = rangeP, size = 10)
prior <- dnorm(x = rangeP, mean = .5, sd = .1)
lines(rangeP, lik * prior, col = "green")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment