alphaN_plot {alphaN}R Documentation

Creates a plot of alpha as function of sample size for each of the four prior options

Description

Creates a plot of alpha as function of sample size for each of the four prior options

Usage

alphaN_plot(BF = 1, max = 10000)

Arguments

BF

Bayes factor you would like to match. 1 to avoid Lindley's Paradox, 3 to achieve moderate evidence and 10 to achieve strong evidence.

max

The maximum number of sample size. Defaults to 10,000.

Value

Prints a plot.

Examples

# Plot of alpha level as a function of n for a Bayes factor of 3
alphaN_plot(BF = 3)

[Package alphaN version 0.1.0 Index]