Learn R Programming

simctest (version 2.5)

summary.mmctestres-methods: Methods for class `mmctestres' and `mmctest', Package `simctest'

Description

Function which shows current estimates of p-values.

Usage

# S3 method for mmctestres
summary(object,...)

Arguments

object

object of type `mmctestres' or `mmctest'.

...

No further arguments needed. Listed only for compatibility with generic `summary' method.

Methods

summary.mmctestres(object)

works with object of type mmctestres or mmctest.

Examples

Run this code
# NOT RUN {
  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));
  summary.mmctestres(a);
# }

Run the code above in your browser using DataLab