plot_t_test_ES: Function to plot the absolute effect size from a t-test

Description Usage Arguments Examples

Description

This function takes a fitted t-test as its input and plots a graph of the absolute effect size (difference between means). Note that this is just the raw difference between means of each group, not a standardized effect size. Data that is plotted is extracted from the means and confidence intervals reported by the t.test() function. Uses ggplot

Usage

1
plot_t_test_ES(t.test.out, point.sz = 5)

Arguments

t.test.out

Output of 2-sample t-test using t.test()

point.sze

Size of point representing the mean.

Examples

1
2
3
4
#Subset frogarms data
data(frogarms)
mass.t <- t.test(mass ~ sex, data = frogarms)
plot_t_test_ES(mass.t)

brouwern/wildlifeR documentation built on May 28, 2019, 7:13 p.m.