
Last chance! 50% off unlimited learning
Sale ends in
sig_noc
return the significant, non-overlapping
zones order from most significant to least significant.
sig_noc(tobs, zones, pvalue, alpha, order_by = "tobs")
The vector of observed test statistics for each zone
A list of zones
The p-value associated with each test statistic
The significance level of the test.
Either 'tobs'
or 'pvalue'
,
indicating the argument by which to order zones
.
A list with the significant, ordered,
non-overlapping tobs
, zones
, pvalue
.,
and idx
(a vector with the relevant indices of
the original zones).
# NOT RUN {
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)
# }
Run the code above in your browser using DataLab