plot_fixefs: Plot coefficients with uncertainty

Description Usage Arguments Value See Also Examples

View source: R/plot_fixefs.R

Description

This isn't really meant to be directly called, but is instead internally used by the plot_coefficients function.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
plot_fixefs(
  model,
  order = "decreasing",
  sd_multi = 2,
  prob = 0.95,
  keep_intercept = FALSE,
  palette = "bilbao",
  ref_line = 0,
  trans = NULL,
  plot = TRUE,
  ...
)

## S3 method for class 'brmsfit'
plot_fixefs(
  model,
  order,
  prob,
  keep_intercept,
  palette,
  ref_line,
  trans,
  plot,
  ...
)

## S3 method for class 'merMod'
plot_fixefs(
  model,
  order,
  sd_multi,
  keep_intercept,
  palette,
  ref_line,
  trans,
  plot,
  ...
)

Arguments

model

The lm or glm model

order

The order of the plots- "increasing", "decreasing", or a numeric vector giving the order. The default is NULL, i.e. the default ordering. Not applied to random effects.

sd_multi

For non-brmsfit objects, the multiplier that determines the width of the interval. Default is 2.

prob

For brmsfit objects, the interval for the uncertainty level. Default is .95.

keep_intercept

Default is FALSE. Intercepts are typically on a very different scale than covariate effects.

palette

A scico palette. Default is 'bilbao'.

ref_line

A reference line. Default is zero.

trans

A transformation function to be applied to the coefficients (e.g. exponentiation).

plot

Default is TRUE, but sometimes you just want the data.

...

Other arguments applied for specific methods.

Value

a ggplot2 object or the effect estimates

See Also

plot_coefficients

Examples

1
#placeholder

m-clark/visibly documentation built on Oct. 28, 2020, 5:33 p.m.