IarcPEint {pcds} | R Documentation |
The indicator for the presence of an arc from a point to another for Proportional Edge Proximity Catch Digraphs (PE-PCDs) - one interval case
Description
Returns for points
and
, that is, returns 1 if
is in
,
returns 0 otherwise, where
is the PE proximity region for point
with expansion parameter
and centrality parameter
.
PE proximity region is constructed with respect to the
interval . This function works whether
and
are inside or outside the interval
int
.
Vertex regions for middle intervals are based on the center associated with the centrality parameter .
If
and
are identical, then it returns 1 regardless of their locations
(i.e., loops are allowed in the digraph).
See also (Ceyhan (2012)).
Usage
IarcPEint(p1, p2, int, r, c = 0.5)
Arguments
p1 |
A 1D point for which the proximity region is constructed. |
p2 |
A 1D point for which it is checked whether it resides in the proximity region
of |
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 |
Value
, that is, returns 1 if
in
, returns 0 otherwise
Author(s)
Elvan Ceyhan
References
Ceyhan E (2012). “The Distribution of the Relative Arc Density of a Family of Interval Catch Digraph Based on Uniform Data.” Metrika, 75(6), 761-793.
See Also
IarcPEmid.int
, IarcPEend.int
and IarcCSint
Examples
c<-.4
r<-2
a<-0; b<-10; int<-c(a,b)
IarcPEint(7,5,int,r,c)
IarcPEint(15,17,int,r,c)
IarcPEint(1,3,int,r,c)