num.arcsPEint | R Documentation |
An object of class "NumArcs"
.
Returns the number of arcs of Proportional Edge Proximity Catch Digraph (PE-PCD)
whose vertices are the
data points in Xp
in the one middle interval case.
It also provides number of vertices
(i.e., number of data points inside the intervals)
and indices of the data points that reside in the intervals.
The data points could be inside or outside the interval is int
=(a,b)
.
PE proximity region is constructed
with an expansion parameter r \ge 1
and a centrality parameter c \in (0,1)
.
int
determines the end points of the interval.
The PE proximity region is constructed for both points inside and outside the interval, hence the arcs may exist for all points inside or outside the interval.
See also (\insertCiteceyhan:metrika-2012;textualpcds).
num.arcsPEint(Xp, int, r, c = 0.5)
Xp |
A set of 1D points which constitute the vertices of PE-PCD. |
int |
A |
r |
A positive real number which serves as the expansion parameter in PE proximity region;
must be |
c |
A positive real number in |
A list
with the elements
desc |
A short description of the output: number of arcs and quantities related to the interval |
num.arcs |
Total number of arcs in all intervals (including the end-intervals), i.e., the number of arcs for the entire PE-PCD |
num.in.range |
Number of |
num.in.ints |
The vector of number of |
int.num.arcs |
The |
data.int.ind |
A |
ind.left.end , ind.mid , ind.right.end |
Indices of data points in the left end-interval, middle interval, and right end-interval (respectively) |
tess.points |
Tessellation points, i.e., points on which the tessellation of
the study region is performed,
here, tessellation points are the end points of the support interval |
vertices |
Vertices of the digraph, |
Elvan Ceyhan
num.arcsPEmid.int
, num.arcsPEend.int
,
and num.arcsCSint
c<-.4
r<-2
a<-0; b<-10; int<-c(a,b)
xf<-(int[2]-int[1])*.1
set.seed(123)
n<-10
Xp<-runif(n,a-xf,b+xf)
Narcs = num.arcsPEint(Xp,int,r,c)
Narcs
summary(Narcs)
plot(Narcs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.