Coding matrix/vector variables in tidy form
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 171
- Forks
- 26
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 3
Description
When variables are vector/matrix they are stored in a tibble named as a[i,j].
@jgabry and I were talking about whether there was some utility of creating a convenience function that splits the indices in long form i.e.,
param idx1 idx2
a i j
It would be useful for getting things in the right form for Bayesplot.
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
Review the proposed tibble representation for vector and matrix variables, including how names such as a[i,j] should become long-form param, idx1, and idx2 columns. Check how Bayesplot expects these values, then define the convenience function's input, output, and completion examples before implementing it.
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
- 30/100