pvals_singleton | R Documentation |
Given a node return the p-values for the opposite side for the
correlations to this node. This is supposed to be a special
case of pvals
(with a singleton set) but it
is more faster and accurate.
pvals_singleton(bk, indx, thresh.alpha = 1)
## S3 method for class 'perm'
pvals_singleton(bk, indx, thresh.alpha = 1)
bk |
An object of class backend |
indx |
Either an X or Y indices (using global numbering). |
thresh.alpha |
We are only interested in p-values less than thresh.alpha. So the method free to return NA for pvalues > thresh.alpha if it helps with optimization. |
The result is a vector of p-values of length ncol(X) or ncol(Y) depending on whether indx is from Y or X respectively.
perm
: implementation for the perm class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.