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

GGS for brmsmultiple objects #80

Open
J-Baxter opened this issue Mar 19, 2024 · 0 comments
Open

GGS for brmsmultiple objects #80

J-Baxter opened this issue Mar 19, 2024 · 0 comments

Comments

@J-Baxter
Copy link

Hello,

the 'ggs' function didn't appear to natively accommodate brmsmultiple objects (ie the output of brms:brm_multiple(combine= TRUE) due to logical statement:

if ( class(S) == "brmsfit" ) {
    S <- S$fit
  }

If this logical could be relaxed as follows, everything appears to function as desired thereafter:

 if ( "brmsfit" %in% class(S)) {
    S <- S$fit
  }

Many thanks!

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

No branches or pull requests

1 participant