Allow data frame input to density/cdf/quantile in rvar
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 171
- Forks
- 26
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 3
Description
A low-priority enhancement, but something that could be nice for data frame-based workflows with rvars would be to allow data frames to be input as quantiles / probs in the density/cdf/quantile functions. This would mirror the data frame input / output format that {distributional} objects can use; see https://github.com/mitchelloharawild/distributional/issues/52#issuecomment-939891904
(the types of inputs covered by this approach are disjoint with the input types already supported by density/cdf/quantile, so it would be easy to do this without breaking old behavior)
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 rvar implementations of density, cdf, and quantile and compare their accepted input types with the data frame input/output conventions described in distributional issue #52. Determine the expected data-frame shape and handling for quantiles or probabilities; done means data-frame inputs work in all three functions without changing existing input behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100