Skip to content

support for multivariate models #908

@daskandalis

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions