Skip to contents

This function displays a visualization the same effect in various effect sizes including d, f, \(f^2\), proportion overlap, correlation, number needed to treat, and more.

Usage

visualize_effects(
  d,
  circle_color = "lightblue",
  circle_fill = "grey",
  percent_color = "black",
  percent_size = 12,
  text_color = "black",
  font_family = "Times"
)

Arguments

d

d effect size to convert to other numbers

circle_color

a color name or code for the highlighted part of the donut circle

circle_fill

a color name or code for the rest of the circle

percent_color

a color name or code for the text of the effect size

percent_size

a numeric value representing the font size of the larger effect size text inside the circle

text_color

a color name or code that changes the color of the effect size text label

font_family

A font family name for the font of the effect size text label

Value

Returns a pretty graph of all the effects

graph

ggplot object of converted effect sizes

Examples


visualize_effects(d = .25)
#> $graph

#>