analysER {ESTER} | R Documentation |
simER
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.
analysER(sim)
sim |
A |
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).
Ladislas Nalborczyk <ladislas.nalborczyk@gmail.com>
## Not run:
library(ESTER)
sim <- simER(cohensd = 0.8, nmin = 20, nmax = 100, boundary = 10, nsims = 100, ic = bic)
analysER(sim)
## End(Not run)