getNumber-methods: Methods for Function 'cont' in class 'mmctestres', Package...

Description Usage Arguments Methods Examples

Description

Function to request number of hypotheses.

Usage

1
 getNumber(obj)

Arguments

obj

object of type "mmctSampler" derived from class "mmctSamplerGeneric".

Methods

getNumber(obj)

works with object of type "mmctSampler" derived from class "mmctSamplerGeneric".

Examples

1
2
3
  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));
  number <- getNumber(i);

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