nip.rcag: Proportion of Non-Intersecting Arc Pairs in an RCAG.

View source: R/nip.rcag.R

nip.rcagR Documentation

Proportion of Non-Intersecting Arc Pairs in an RCAG.

Description

Computes the proportion of non-intersecting pairs of arcs in the RCAG obtained using data.

Usage

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

Arguments

s

Start points of arcs.

t

End points of arcs.

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 <- circular::rcircularuniform(10) 
t <- circular::rcircularuniform(10)
e1 <- c(2,10,6,1,5)
e2 <- c(4,3,8,7,9)
nip.rcag(s,t,e1,e2)

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