plot_ranefs: Plot coefficients with uncertainty

Description Usage Arguments Value Methods (by class) See Also Examples

View source: R/plot_ranefs.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
plot_ranefs(
  model,
  sd_multi = 2,
  prob = 0.95,
  ref_line = 0,
  trans = NULL,
  plot = TRUE,
  which_ranef = NULL,
  ...
)

## S3 method for class 'brmsfit'
plot_ranefs(model, prob, ref_line, trans, plot, which_ranef, ...)

## S3 method for class 'merMod'
plot_ranefs(model, sd_multi, ref_line, trans, plot, which_ranef, ...)

Arguments

model

The brmsfit or lme4 model

sd_multi

The sd multiplier

prob

The uncertainty level

ref_line

The reference line

trans

A transformation to be applied to the coefficient. Currently unused.

plot

Whether to plot or just provide the data.

which_ranef

Which random effect to plot

...

Other options passed to specific methods. Currently unused.

Value

a ggplot2 object or the effect estimates

Methods (by class)

See Also

plot_coefficients

Examples

1
#placeholder

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