num.arcsPEmid.int: Number of Arcs for Proportional Edge Proximity Catch Digraphs...

View source: R/PropEdge1D.R

num.arcsPEmid.intR Documentation

Number of Arcs for Proportional Edge Proximity Catch Digraphs (PE-PCDs) - middle interval case

Description

Returns the number of arcs of Proportional Edge Proximity Catch Digraphs (PE-PCDs) whose vertices are the given 1D numerical data set, Xp. PE proximity region N_{PE}(x,r,c) is defined with respect to the interval int=(a,b) for this function.

PE proximity region is constructed with expansion parameter r \ge 1 and centrality parameter c \in (0,1).

Vertex regions are based on the center associated with the centrality parameter c \in (0,1). For the interval, int=(a,b), the parameterized center is M_c=a+c(b-a) and for the number of arcs, loops are not allowed so arcs are only possible for points inside the middle interval int for this function.

See also (\insertCiteceyhan:metrika-2012;textualpcds).

Usage

num.arcsPEmid.int(Xp, int, r, c = 0.5)

Arguments

Xp

A set or vector of 1D points which constitute the vertices of PE-PCD.

int

A vector of two real numbers representing an interval.

r

A positive real number which serves as the expansion parameter in PE proximity region; must be \ge 1.

c

A positive real number in (0,1) parameterizing the center inside int=(a,b) with the default c=.5. For the interval, int=(a,b), the parameterized center is M_c=a+c(b-a).

Value

Number of arcs for the PE-PCD whose vertices are the 1D data set, Xp, with expansion parameter, r \ge 1, and centrality parameter, c \in (0,1). PE proximity regions are defined only for Xp points inside the interval int, i.e., arcs are possible for such points only.

Author(s)

Elvan Ceyhan

References

\insertAllCited

See Also

num.arcsPEend.int, num.arcsPE1D, num.arcsCSmid.int, and num.arcsCSend.int

Examples

## Not run: 
c<-.4
r<-2
a<-0; b<-10; int<-c(a,b)

n<-10
Xp<-runif(n,a,b)
num.arcsPEmid.int(Xp,int,r,c)
num.arcsPEmid.int(Xp,int,r=1.5,c)

## End(Not run)


elvanceyhan/pcds documentation built on June 29, 2023, 8:12 a.m.