trials.needed {backbone} | R Documentation |
Estimate number of monte carlo trials needed to estimate p-value
Description
trials.needed
estimates the number of monte carlo trials needed to estimate edgewise p-values
Usage
trials.needed(M, alpha, signed, missing.as.zero, mtc, how.close = 0.95)
Arguments
M |
matrix: An adjacency matrix representing a network from which a backbone is is being extracted |
alpha |
real: significance level of hypothesis test(s) |
signed |
boolean: TRUE for a signed backbone, FALSE for a binary backbone |
missing.as.zero |
boolean: should missing edges be treated as edges with zero weight and tested for significance |
mtc |
string: type of Multiple Test Correction to be applied; can be any method allowed by |
how.close |
real: How close can the empirical p-value be to alpha and still be distinguishable, expressed as a proportion |
Value
integer
[Package backbone version 2.1.4 Index]