Learn R Programming

MRTAnalysis (version 0.4.1)

plot.mrt_effect_size: Plot standardized proximal effect size

Description

Plot the standardized effect estimate over time, with optional bootstrap confidence bounds if available.

Usage

# S3 method for mrt_effect_size
plot(
  x,
  show_ci = TRUE,
  col = "black",
  lwd = 1.5,
  ci_col = "red",
  ci_lty = 2,
  ...
)

Arguments

x

An object of class "mrt_effect_size".

show_ci

Logical; if TRUE and CIs are available, plot the lower and upper confidence bounds.

col

Color for the estimate line.

lwd

Line width for the estimate line.

ci_col

Color for CI lines.

ci_lty

Line type for CI lines.

...

Additional arguments passed to [plot()].