permutePval function

Permutation p-value

Permutation p-value

Computes a p-value using a permutation procedure.

permutePval(pcevObj, ...) ## Default S3 method: permutePval(pcevObj, ...) ## S3 method for class 'PcevClassical' permutePval(pcevObj, shrink, index, nperm, ...) ## S3 method for class 'PcevBlock' permutePval(pcevObj, shrink, index, nperm, ...) ## S3 method for class 'PcevSingular' permutePval(pcevObj, shrink, index, nperm, ...)

Arguments

  • pcevObj: A pcev object of class PcevClassical or PcevSingular

    PcevBlock

  • ...: Extra parameters.

  • shrink: Should we use a shrinkage estimate of the residual variance?

  • index: If pcevObj is of class PcevBlock, index is a vector describing the block to which individual response variables correspond.

  • nperm: The number of permutations to perform.

  • Maintainer: Maxime Turgeon
  • License: GPL (>= 2)
  • Last published: 2018-02-03