p-value {ctgt} | R Documentation |
p-value of globaltest
Description
Robbins and Pitman Algorithm to calculate the p-value given the observed value and the eigenvalue vector.
Usage
pv(x, lam)
Arguments
x |
The observed value that is used to calculate the coresponding the p-value. |
lam |
The numeric vector with eigenvalues as elements. |
Value
Returns a value between 0 and 1.
Author(s)
Ningning Xu
Maintainer: Ningning Xu <n.xu@lumc.nl; xu15263142750@gmail.com>
References
Ningning Xu, Aldo solari, Jelle Goeman, Clsoed testing with global test, with applications on metabolomics data, arXiv:2001.01541, https://arxiv.org/abs/2001.01541
[Package ctgt version 2.0.1 Index]