sig_noc {smerc} | R Documentation |
Return most significant, non-overlapping zones
Description
sig_noc
return the significant, non-overlapping
zones order from most significant to least significant.
Usage
sig_noc(tobs, zones, pvalue, alpha, order_by = "tobs")
Arguments
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. |
order_by |
Either |
Value
A list with the significant, ordered,
non-overlapping tobs
, zones
, pvalue
.,
and idx
(a vector with the relevant indices of
the original zones).
Examples
tobs <- c(1, 3, 2)
zones <- list(1:2, 1:3, 2:3)
pvalue <- c(0.5, 0.01, 0.02)
sig_noc(tobs, zones, pvalue, alpha = 0.05)
[Package smerc version 1.8.3 Index]