Learn R Programming

ESTER (version 0.1.0)

distER: Simulates many sequential evidence ratios to obtain their distribution

Description

Simulates many sequential evidence ratios using simER, keeps the last of each simulation, and plots their distribution.

Usage

distER(cohensd, nmin, n, nsims, ic = bic)

Arguments

cohensd

Expected effect size

nmin

Minimum sample size from which start computing ERs

n

Total sample size

nsims

Number of experiments to simulate.

ic

Indicates whether to use the aic or the bic.

See Also

simER

Examples

Run this code
# NOT RUN {
distER(cohensd = 0.6, nmin = 20, n = 100, nsims = 100, ic = bic)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab