permutePval {pcev}R Documentation

Permutation p-value

Description

Computes a p-value using a permutation procedure.

Usage

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.


[Package pcev version 2.2.2 Index]