location_plot: Generate Location Plot

Description Usage Arguments Details Value References Examples

Description

Creates three density plots with varying means. The means are highlighted with a vertical line.

Usage

1
2
location_plot(mu = c(-5, 0, 5), std = 1, n = 100, xmin = -10,
  xmax = 10)

Arguments

mu

mean

std

standard deviation

n

integer; sample size

xmin

x-axis minimum limit

xmax

x-axis maximum limit

Details

While using RStudio, error may be thrown if plot window is too small. Error thrown will say figure margins are too large. To fix, adjust the plot window to be larger and the function should plot normally.

Value

Creates three density plots with different center locations

References

Krzywinski, Martin, and Naomi Altman. "Points of significance: Importance of being uncertain." Nature Methods 10.9 (2013): 809-810.

Examples

1

erictleung/poofsi documentation built on May 16, 2019, 8:41 a.m.