R/meanICLength.R

Defines functions `meanICLength`

`meanICLength` <-
function(simObj, nsims = simObj$simDesign$nsims, precis = 0.95) {
    2 * qnorm(p=(1-precis)/2, lower.tail=F) *
    c(
         mean(simObj$se),
         sd(simObj$se)/sqrt(nsims)
    )
}

Try the goProfiles package in your browser

Any scripts or data that you put into this service are public.

goProfiles documentation built on Nov. 8, 2020, 8:12 p.m.