nip.rig: Proportion of Non-Intersecting Interval Pairs in an RIG

View source: R/nip.rig.R

nip.rigR Documentation

Proportion of Non-Intersecting Interval Pairs in an RIG

Description

Computes the proportion of non-intersecting pairs of interval in the RIG obtained using data.

Usage

nip.rig(s, t, e1, e2)

Arguments

s

Start points of intervals.

t

End points of intervals.

e1

Vector of indices for the first interval in each pair.

e2

Vector of indices for the second interval in each pair.

Value

Mean proportion of non-intersecting pairs.

Examples

s <- runif(10,0,1) 
t <- runif(10,0,1)
e1 <- c(2,10,6,1,5)
e2 <- c(4,3,8,7,9)
nip.rig(s,t,e1,e2)

GTRT documentation built on Sept. 9, 2025, 5:38 p.m.