plot_models: Plot fitted models

Description Usage Arguments Details Value

Description

Plot fitted models

Usage

1
2
plot_models(models, rows = "outcomes", columns = "exposures",
  labels = NULL, type = "beta")

Arguments

models

List of models

rows

One of "outcomes", "exposures", "adjustments"

columns

One of "outcomes", "exposures", "adjustments"

labels

Character vector with named elements (same as from_to argument of translate)

type

Confidence intervals to plot ("beta" or "OR")

Details

The 'rows' and 'columns' arguments define which of outcomes, exposures, or adjustments occupy the rows and columns of the plot, respectively. Conceptually there is a third parameter, 'page', that is automatically set depending on the values of 'rows' and 'columns'. Each of 'rows', 'columns', and 'page' must correspond to one of "outcomes", "exposures", or "adjustments", and no two may have the same value. If, for example, 'rows = "outcomes"', 'columns = "exposures"', and 'page = "adjustments"', then the function creates as many pages of plots as there are adjustments. Every page corresponds to one adjustment and contains a plot made up of several subplots where subplots in rows correspond to different outcomes and subplots in columns correspond to different exposures.

Value

None.


cbaumbach/manyregs documentation built on May 13, 2019, 1:48 p.m.