confidenceLimits-methods: Methods for class 'mmctestres' and 'mmctest', Package...

Description Usage Arguments Methods Examples

Description

Function which returns a list containing lower confidence limits (vector ‘lowerLimits’) and upper confidence limits (vector ‘upperLimits’).

Usage

1

Arguments

obj

object of type ‘mmctestres’ or ‘mmctest’.

Methods

confidenceLimits(obj)

works with object of type mmctestres or mmctest.

Examples

1
2
3
4
5
6
7
  fun <- function(ind,n,data) sapply(1:length(ind), function(i) sum(runif(n[i])<=data[ind[i]]));
  i <- mmctSampler(fun,num=500,data=runif(500));
  a <- mmctest(h=hBH);
  a <- run(a, i, maxsteps=list(maxnum=1000000,undecided=10));
  res <- confidenceLimits(a);
  lower <- res$lowerLimits;
  upper <- res$upperLimits;

simctest documentation built on May 30, 2017, 2:53 a.m.