Learn R Programming

MetaLonDA (version 1.1.8)

findSigInterval: Find significant time intervals

Description

Identify significant time intervals

Usage

findSigInterval(adjusted.pvalue, threshold = 0.05, sign)

Arguments

adjusted.pvalue

vector of the adjusted p-value

threshold

p-value cut off

sign

vector hold area sign of each time interval

Value

returns a list of the start and end points of all significant time intervals

References

Ahmed Metwally (ametwall@stanford.edu)

Examples

Run this code
# NOT RUN {
p = c(0.04, 0.01, 0.02, 0.04, 0.06, 0.2, 0.06, 0.04)
sign = c(1, 1, 1, 1, -1, -1, 1, 1)
findSigInterval(p, threshold = 0.05, sign)
# }

Run the code above in your browser using DataLab