stan-dev / stan-dev/posterior

[FR] Allow as_draws_dt for data.table

Open
#348 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
171
Forks
26
Avg merge
2d 18h
Merged PRs (30d)
3

Description

My workflow is pretty data.table based. It would be nice to have a format like draws_df that uses the data.table backend.

I think this would be semi copy-paste heavy wrt draws_df. Though it would let a few function that work over groups be a bit faster by using the data.table backend.

imo I don't care much about performance though, I just like the data.table scheme for parsing data

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing draws_df implementation and its tests, then compare how other draw formats are represented. Define the equivalent data.table-backed as_draws_dt behavior and verify that the relevant grouped parsing workflows work consistently with draws_df.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.