Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor mcmc_intervals/mcmc_areas #103

Closed
jgabry opened this issue Aug 7, 2017 · 2 comments
Closed

refactor mcmc_intervals/mcmc_areas #103

jgabry opened this issue Aug 7, 2017 · 2 comments
Assignees

Comments

@jgabry
Copy link
Member

jgabry commented Aug 7, 2017

These are based on very old code and the same functionality could be provided using less code (and simpler code). Some improvements could be made too, for example using a discrete scale for the vertical axis.

@tjmahr
Copy link
Collaborator

tjmahr commented Sep 1, 2017

Just some notes from studying the code.

Right now, we call mcmc_intervals() and mcmc_areas(), and that prepares a call to the workhorse function .mcmc_intervals(). That function prepares the data for both types of plots, creating the density curves based on a flag show_density if needed, and then produces the plots.

I will first factor out the data-preparation steps and export new functions mcmc_intervals_data() and mcmc_areas_data().

@jgabry
Copy link
Member Author

jgabry commented Sep 1, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants