Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arrays of draws of arbitrary dimension #13

Closed
paul-buerkner opened this issue Oct 28, 2019 · 2 comments
Closed

Arrays of draws of arbitrary dimension #13

paul-buerkner opened this issue Oct 28, 2019 · 2 comments
Labels
feature New feature or request
Milestone

Comments

@paul-buerkner
Copy link
Collaborator

In brms, I need draws arrays in various places that hold mulitple dimensions of draws and I feel we should support them natively in posterior. Such arrays should have the following properties:

  • Iterations/draws are always the first dimension
  • All other dimensions can be freely named and otherwise receive default names
  • no chain information is stored unless manually done be the user (in contrast to the current draws_array class, which will remain in the current form)
  • subsetting should not lead to dropping dimensions
  • methods subset, summarise_draws, etc. work canonically on these objects

We should come up with a good name for this class. The question is mostly which of the two array classes should be called draws_array and which should receive another name.

@paul-buerkner
Copy link
Collaborator Author

This will be implemented as part of #8. @mjskay, I would still like the principles in the OP to be taken into account in #8 but we can discuss this once you start working on #8 again.

@paul-buerkner
Copy link
Collaborator Author

Implemented via #106

@paul-buerkner paul-buerkner added this to the CRAN release milestone Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant