analysER: Analysing the results of simulations ran with 'simER'

Description Usage Arguments Value Author(s) See Also Examples

View source: R/analysER.R

Description

Analysing the results of simulations ran with simER. It computes the average sample number (ASN) at which the boundary is attained (either the lower or the upper one), the percentage of hits of the lower boundary as well as hits of the upper boundary, and the percentage of trajectories that did not hit none of the boundaries.

Usage

1
analysER(sim)

Arguments

sim

A simER or a compER object.

Value

An object of class data.frame, which contains the average sample number (ASN) at which the boundary is attained (either the lower or the upper one), the percentage of hits of the lower boundary as well as hits of the upper boundary, and the percentage of trajectories that did not hit none of the boundaries (and thus end at nmax).

Author(s)

Ladislas Nalborczyk <ladislas.nalborczyk@gmail.com>

See Also

simER

Examples

1
2
3
4
5
6
## Not run: 
library(ESTER)
sim <- simER(cohensd = 0.8, nmin = 20, nmax = 100, boundary = 10, nsims = 100, ic = bic)
analysER(sim)

## End(Not run)

ESTER documentation built on May 2, 2019, 12:13 p.m.