Suggestion, heatmap to show pairwise correlations #feature #new_plot
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 442
- Forks
- 93
- Avg merge
- 3h 11m
- Merged PRs (30d)
- 1
Description
Hi bayesplot team,
Thank you for making a brilliant and very usable package. The mcmc_scatter plot is very useful for visualizing the correlations between two known parameters. However it is not useful at visualizing which parameters are correlated in general. mcmc_pairs will do this in detail, but is hard to implement and prohibitively slow for more than a dozen or so paramters.
I suggest a heatmap of correlations: first, calculate pairwise correlations between (a subset of) parameters; second, plot a heatmap using geom_tile with the correlations as fill. That would be a quick visual cue to what is correlated with what.
Please accept my apologies if this was already discussed.
Edward
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing mcmc_scatter and mcmc_pairs plotting paths to understand how parameter inputs and correlations are handled. The issue is complete when a heatmap using geom_tile provides a visual cue for pairwise correlations across a selected subset of parameters, with behavior and scope settled for larger parameter sets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100