allmetap function

Carry out all or some of the methods in the package

Carry out all or some of the methods in the package

Enables all or a selected number of the package methods to be executed on the same dataset\loadmathjax

allmetap(p, method = "all", log.p = FALSE) ## S3 method for class 'allmetap' print(x, digits = 5, ...)

Arguments

  • p: A vector of \mjseqn p-values
  • method: A vector of character containing names of methods or ‘all’
  • log.p: Logical, are the \mjseqn p-values passed as logs?
  • x: An object of class ‘allmetap’
  • digits: How many digits to print?
  • ...: Other arguments to be passed through

Details

The function uses each of the methods specified on the data-set in p. If method contains ‘all’

then this over--rides any specific method(s) named.

Returns

Returns an object of class ‘allmetap’ and ‘data.frame’ containing columns - p: The value of p returned

  • valid: The number of valid p values used for that method

  • eponym: The eponym, if any, for the method

The row names are the names of the methods used. If any of the methods cannot be applied to that data--set NA are returned for p and valid.

Author(s)

Michael Dewey

Examples

data(dat.metap) beckerp <- dat.metap$beckerp allmetap(beckerp) allmetap(beckerp, method = c("sumz", "sumlog"), log.p = TRUE)
  • Maintainer: Michael Dewey
  • License: GPL-2
  • Last published: 2025-03-15

Useful links