ppc_curve_overlay()
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 442
- Forks
- 93
- Avg merge
- 3h 11m
- Merged PRs (30d)
- 1
Description
We should have a plot like ppc_ribbon() but that plots the raw draws instead of computing interval summaries (like ppc_dens_overlay() but values not densities, and and x axis predictor or time variable).
So for example, ppc_curve_overlay(y, yrep, x) would plot nrow(yrep) overlaid regression lines (at least they are draws of the regression line if yrep is from posterior_linpred() instead of posterior_predict()).
We could call it ppc_line_overlay() but yrep doesn’t have to come from a linear model.
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 reading the existing ppc_ribbon() and ppc_dens_overlay() implementations and their related tests or examples. Define the new ppc_curve_overlay() entry point around y, yrep, and x, then verify that it overlays raw draws rather than interval summaries or densities, including draws from posterior_linpred() and posterior_predict().
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100