pconv: Proportion of runs achieving convergence

Description Usage Arguments Value See Also Examples

View source: R/general.R

Description

Proportion of runs achieving convergence

Usage

1
pconv(x)

Arguments

x

Vector or matrix where each row is a single run

Value

A vector with the proportion of converging runs.

See Also

psig

Examples

1
2
3
4
5
6
7
8
nmc <- 10
pmx <- cbind(randParams(genParamRanges(), nmc, 1001), seed=mkSeeds(nmc, 1001))

res <- mcRun("fitanova", mcr.fnArgs=list(wsbi=FALSE),
             mcr.datFn="mkDf", mcr.datArgs=list(wsbi=FALSE),
             mcr.varying=pmx)

pconv(res[,c("p1","p2","pmf","pmax")])

dalejbarr/simgen documentation built on Jan. 28, 2019, 7:43 p.m.