Skip to content

Input as list for plot_summs #64

Closed
@zx8754

Description

@zx8754

Relevant SO post:

library(jtools)

# example models
tmp <- list(m1 = lm(mpg ~ cyl + disp, data = mtcars),
            m2 = lm(mpg ~ cyl + hp, data = mtcars))

This works:

plot_summs(tmp$m1, tmp$m2)

Ideally, should work with a list input, as:

plot_summs(tmp)

Workaround suggested at SO:

do.call(plot_summs, setNames(tmp, NULL))

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions