Learn R Programming

ViSe (version 0.1.3)

estimate_d: Visualization for Estimating \(d_s\)

Description

This function displays a visualization of effect sizes.

Usage

estimate_d(
  m1 = NULL,
  m2 = NULL,
  sd1 = NULL,
  sd2 = NULL,
  n1 = NULL,
  n2 = NULL,
  d = NULL,
  fill_1 = "lightblue",
  fill_2 = "pink",
  text_color = "black"
)

Value

Returns a pretty graph

d

effect size

graph

A graph of the distributions of the effect size

Arguments

m1

mean from first group

m2

mean from second group

sd1

standard deviation from first group

sd2

standard deviation from second group

n1

sample size for first group

n2

sample size for the second group

d

estimate of the effect size

fill_1

a color code or name to fill the first distribution

fill_2

a color code or name to fill the second distribution

text_color

a color code or name for the graph text

Examples

Run this code
estimate_d(d = .25)

estimate_d(m1 = 10, m2 = 8, sd1 = 5, sd2 = 4,
 n1 = 100, n2 = 75)

Run the code above in your browser using DataLab