t2p: From Test Statistics To _p_-Values

Description Usage Arguments Value Author(s) See Also

View source: R/t2p.R

Description

Transforming Test Statistics to Permutation p-Values

Usage

1
  t2p(Tmat, obsOnly = FALSE)

Arguments

Tmat

3-dimensional (2-dimensional) array containing the test statistics where the first horizontal slice (first row) contains the observed value

obsOnly

logical, if FALSE (default) the whole permutation distribution of the computed p-values is returned, if TRUE only the observed ones are returned.

Value

if obsOnly is FALSE an array of the same dimension of the input matrix Tmat, otherwise only the first row

Author(s)

Livio Finos, Aldo Solari and Federico Mattiello <federico.mattiello@gmail.com>

See Also

permutationSpace, NPC


SOUP documentation built on May 2, 2019, 8:18 a.m.

Related to t2p in SOUP...