-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add examples of converting base R 3-D array and mcmc/mcmc.list objects to README.md #301
Conversation
Example of converting base R 3-D array and mcmc/mcmc.list objects
Codecov Report
@@ Coverage Diff @@
## master #301 +/- ##
=======================================
Coverage 95.66% 95.66%
=======================================
Files 46 46
Lines 3645 3645
=======================================
Hits 3487 3487
Misses 158 158 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
This is how benchmark results would change (along with a 95% confidence interval in relative change) if 1245251 is merged into master:
|
We do not require coda and rjags in posterior so I assume we will fail some checks by adding these packages to the readme. Did you run the usual CMD checks with this already? if not, I will do it when working on the new posterior release in the next few days. |
I think you edited the readme.md file directly, but all changes should only go to the readme.Rmd file which will then be used to render the corresponding .md file. Anyway, I have made the necessary changes and will merge now. Thank you for this addition! |
This is how benchmark results would change (along with a 95% confidence interval in relative change) if 9aa5a8d is merged into master:
|
Add examples of converting base R 3-D array and mcmc/mcmc.list objects
As it took me a moment to figure out how to convert R 3-D array to draws so that variables are named (as the approach used for matrix doesn't work) it is probably helpful for others to see the example, too.
I didn't even know that mcmc/mcmc.list object conversion is supported, and it would be useful to mention it at least once somewhere, so that it is possible to point others to tha information.