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

Tweaks to plotting functions #35

Merged
merged 2 commits into from
Jan 2, 2020
Merged

Tweaks to plotting functions #35

merged 2 commits into from
Jan 2, 2020

Conversation

mikemeredith
Copy link
Contributor

args list now has ask=NULL but same behaviour. traceplot and densityplot do not touch par(mfrow...) when per_plot=1. Only par settings which have been changes are restored.

Ran the example in shinyjags and plots seem to be well-behaved.

Mike Meredith added 2 commits December 14, 2019 21:44
args list now has 'ask=NULL' but same behaviour. traceplot and densityplot do not touch par(mfrow...) when per_plot=1. Only par setting which have been changes are restored.
@mikemeredith
Copy link
Contributor Author

Latest commit has several changes:

  • Fixed: plotting functions failed with only one chain; replaced loop to plot lines with matplot.
  • plot.jagsUI was "ask"ing when number of plots == plots per page.
  • densityplot uses same bandwidth for all chains.
  • densityplot attempts to detect parameters constrained to be non-negative or in {0, 1} and plots them truncated appropriately.

@kenkellner kenkellner merged commit fcc0147 into kenkellner:master Jan 2, 2020
@kenkellner
Copy link
Owner

Thanks Mike. Sorry for the delay, the failed tests are due to very small changes in plot appearance that I'll fix soon.

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

Successfully merging this pull request may close these issues.

2 participants