Skip to content

support for multivariate models #908

Description

@daskandalis

It would be wonderful to have support for multivariate models (or I'm missing a key part).

library(brms)
library(easystats)

mod1 <- brm( mpg ~ cyl, data = mtcars, chains = 1)
mod2 <- brm( bf(mvbind(mpg,hp) ~ cyl) + set_rescor(FALSE), data = mtcars, chains = 1)

check_model(mod1)
check_model(mod2)
check_model(mod2, resp='mpg')

Both of the last two return

Error in minfo$is_linear && !minfo$is_gam : invalid 'x' type in 'x && y'

which is perhaps because insight::model_info returns a list of lists of the expected components?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement 💥Implemented features can be improved or revised

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions