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

Implement posterior::as_draws() for rstanarm objects #596

Merged
merged 5 commits into from
Aug 2, 2023
Merged

Conversation

jgabry
Copy link
Member

@jgabry jgabry commented Jul 26, 2023

closes #540

Adds the various as_draws_*.stanreg methods for compatibility with the posterior package

@jgabry jgabry added the feature label Jul 26, 2023
@jgabry jgabry requested a review from bgoodri July 26, 2023 00:03
R/draws.R Outdated Show resolved Hide resolved
@jgabry
Copy link
Member Author

jgabry commented Aug 1, 2023

@bgoodri Ok to merge? Everything is passing except on ubuntu-latest (release), but the error is error unrelated to this PR:

 ── Failure ('test_stan_glm.R:264:7'): stan_glm returns expected result for bernoulli ──
  `val` not equal to `ans`.
  1/3 mismatches
  [3] 0.879 - 0.756 == 0.123
  cauchit

@bgoodri bgoodri merged commit 2fade36 into master Aug 2, 2023
@bgoodri bgoodri deleted the draws-objects branch August 2, 2023 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement posterior::as_draws() for rstanarm objects
2 participants