Skip to content

Instantly share code, notes, and snippets.

@monogenea
Created October 7, 2019 17:46
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save monogenea/d5724a57f029215c9183c7ddfbc51110 to your computer and use it in GitHub Desktop.
unstdPost <- lik * prior
stdPost <- unstdPost / sum(unstdPost)
lines(rangeP, stdPost, col = "blue")
legend("topleft", legend = c("Lik", "Prior", "Unstd Post", "Post"),
text.col = 1:4, bty = "n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment