findSigInterval: Find significant time intervals

Description Usage Arguments Value References Examples

View source: R/CurveFitting.R

Description

Identify significant time intervals

Usage

1
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

1
2
3
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)

MetaLonDA documentation built on Dec. 18, 2019, 9:38 a.m.