sig_prune | R Documentation |
sig_prune
returns the significant
zones ordered from most significant to least significant (assuming the zones are already in order)
sig_prune(tobs, zones, pvalue, alpha)
tobs |
The vector of observed test statistics for each zone |
zones |
A list of zones |
pvalue |
The p-value associated with each test statistic |
alpha |
The significance level of the test. |
A list with the significant, ordered,
non-overlapping tobs
, zones
, pvalue
.,
and idx
(a vector with the relevant indices of
the original zones).
tobs <- c(3, 2, 1)
zones <- list(1:2, 3:4, 5:6)
pvalue <- c(0.001, 0.05, 0.15)
sig_prune(tobs, zones, pvalue, alpha = 0.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.