alphaN_plot: Creates a plot of alpha as function of sample size for each...

View source: R/alphaN_plot.R

alphaN_plotR 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)

alphaN documentation built on Jan. 13, 2023, 1:14 a.m.