permutePval: Permutation p-value

Description Usage Arguments

View source: R/methods.R

Description

Computes a p-value using a permutation procedure.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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.


GreenwoodLab/pcev documentation built on May 6, 2019, 6:35 p.m.