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

Feature the 'rray' package for consistent handling of arrays #685

Closed
paul-buerkner opened this issue Jun 11, 2019 · 1 comment
Closed

Feature the 'rray' package for consistent handling of arrays #685

paul-buerkner opened this issue Jun 11, 2019 · 1 comment

Comments

@paul-buerkner
Copy link
Owner

In several places, brms has to deal with multidimensional arrays mostly consisting of posterior samples and sometimes of data. Due to R's bad default (drop = TRUE etc.) handling these arrays is painful at times and requires a lot of workarounds. The rray package (https://github.com/DavisVaughan/rray) which is soon to be on CRAN offers a powerful and consistent way to handle arrays and it could be worth using in brms.

@paul-buerkner
Copy link
Owner Author

Our new posterior package (stan-dev/posterior#13) will eventually do all the handling of multidimensional arrays of posterior samples (without or without rray at the backend) and I think this issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant