ggp_measures: Plot of effect measures

View source: R/ggp_measures.R

ggp_measuresR Documentation

Plot of effect measures

Description

Plot of effect measures.

Usage

ggp_measures(
  data,
  title = "Title",
  subtitle = "Subtitle",
  vline = list(colors = c("lightseagreen", "violet"), linetype = "solid", size = 3, alpha
    = 0.5),
  pointrange = list(size = 1, fatten = 2),
  text = list(size = 3, color = "navy", digits = 2),
  scale_color = list(zero = "darkgreen", one = "magenta"),
  text_size = list(title = 0.9, y_axis = 0.9)
)

Arguments

data

Data frame with effect measures.

title

Title.

subtitle

Subtitle.

vline

geom_vline specs.

pointrange

geom_pointrange specs.

text

geom_text_repel specs.

scale_color

scale_color_manual color specs.

text_size

text size for title and axis as a factor of base font size.

Details

Plot of effect measures with causal power (CF) and attributable fraction (AF). See secion 3.3, p. 44-45 for more details.

Value

A ggplot object.


FrankLef/fciR documentation built on Nov. 12, 2023, 6:09 a.m.