plot_interventional_density: Plot density

View source: R/plot_interventional_density.R

plot_interventional_densityR Documentation

Plot density

Description

Function that generates density plots

Usage

plot_interventional_density(
  object,
  plot = TRUE,
  plot.dir = NULL,
  scales.free = FALSE
)

Arguments

object

The object returned from calling function intervention_effect.

plot,

character, directory to save pdf plot files

scales.free,

logical, FALSE (default): all plots have the same x-axis and y-axis ticks, TRUE: free x-axis and y-axis ticks

Value

plot_interventional_density returns ggplot2 code for density plots

References

Gische, C., Voelkle, M.C. (2021) Beyond the mean: a flexible framework for studying causal effects using linear models. Psychometrika (advanced online publication). https://doi.org/10.1007/s11336-021-09811-z


christian-gische/causalSEM documentation built on April 26, 2023, 10:36 p.m.