num.arcsCS1D {pcds} | R Documentation |
Number of arcs of Central Similarity Proximity Catch Digraphs (CS-PCDs) and related quantities of the induced subdigraphs for points in the partition intervals - multiple interval case
Description
An object of class "NumArcs"
.
Returns the number of arcs and various other quantities related to the partition intervals
for Central Similarity Proximity Catch Digraph
(CS-PCD) whose vertices are the data points in Xp
in the multiple interval case.
For this function, CS proximity regions are constructed data points inside or outside the intervals based
on Yp
points with expansion parameter and centrality parameter
. That is, for this function,
arcs may exist for points in the middle or end-intervals.
Range (or convex hull) of Yp
(i.e., the interval )
is partitioned by the spacings based on
Yp
points (i.e., multiple intervals are these partition intervals
based on the order statistics of Yp
points
whose union constitutes the range of Yp
points).
If there are duplicates of Yp
points,
only one point is retained for each duplicate value,
and a warning message is printed.
For the number of arcs, loops are not counted.
Usage
num.arcsCS1D(Xp, Yp, t, c = 0.5)
Arguments
Xp |
A set or |
Yp |
A set or |
t |
A positive real number which serves as the expansion parameter in CS proximity region;
must be |
c |
A positive real number in |
Value
A list
with the elements
desc |
A short description of the output: number of arcs and related quantities for the induced subdigraphs in the partition intervals |
num.arcs |
Total number of arcs in all intervals (including the end-intervals), i.e., the number of arcs for the entire CS-PCD |
num.in.range |
Number of |
num.in.ints |
The vector of number of |
weight.vec |
The |
int.num.arcs |
The |
part.int |
A list of partition intervals based on |
data.int.ind |
A |
tess.points |
Tessellation points, i.e., points on which the tessellation of
the study region is performed,
here, tessellation is the partition intervals based on |
vertices |
Vertices of the digraph, |
Author(s)
Elvan Ceyhan
References
There are no references for Rd macro \insertAllCites
on this help page.
See Also
num.arcsCSint
, num.arcsCSmid.int
,
num.arcsCSend.int
, and num.arcsPE1D
Examples
tau<-1.5
c<-.4
a<-0; b<-10; int<-c(a,b);
#nx is number of X points (target) and ny is number of Y points (nontarget)
nx<-20; ny<-4; #try also nx<-40; ny<-10 or nx<-1000; ny<-10;
set.seed(1)
xf<-(int[2]-int[1])*.1
Xp<-runif(nx,a-xf,b+xf)
Yp<-runif(ny,a,b)
Narcs = num.arcsCS1D(Xp,Yp,tau,c)
Narcs
summary(Narcs)
plot(Narcs)