arcsCSint | R Documentation |
An object of class "PCDs"
.
Returns arcs as tails (or sources) and heads (or arrow ends) for 1D data set Xp
as the vertices
of CS-PCD. int
determines the end points of the interval.
For this function, CS proximity regions are constructed data points inside or outside the interval based
on int
points with expansion parameter t > 0
and centrality parameter c \in (0,1)
. That is, for this function,
arcs may exist for points in the middle or end intervals.
It also provides various descriptions and quantities about the arcs of the CS-PCD
such as number of arcs, arc density, etc.
arcsCSint(Xp, int, t, c = 0.5)
Xp |
A set or |
int |
A |
t |
A positive real number which serves as the expansion parameter in CS proximity region. |
c |
A positive real number in |
A list
with the elements
type |
A description of the type of the digraph |
parameters |
Parameters of the digraph, here, they are expansion and centrality parameters. |
tess.points |
Points on which the tessellation of the study region is performed, here, tessellation
is the intervalization of the real line based on |
tess.name |
Name of data set used in tessellation, it is |
vertices |
Vertices of the digraph, |
vert.name |
Name of the data set which constitute the vertices of the digraph |
S |
Tails (or sources) of the arcs of CS-PCD for 1D data |
E |
Heads (or arrow ends) of the arcs of CS-PCD for 1D data |
mtitle |
Text for |
quant |
Various quantities for the digraph: number of vertices, number of partition points, number of intervals, number of arcs, and arc density. |
Elvan Ceyhan
arcsCS1D
, arcsCSmid.int
, arcsCSend.int
, and arcsPE1D
tau<-2
c<-.4
a<-0; b<-10; int<-c(a,b);
#n is number of X points
n<-10; #try also n<-20
xf<-(int[2]-int[1])*.1
set.seed(1)
Xp<-runif(n,a-xf,b+xf)
Arcs<-arcsCSint(Xp,int,tau,c)
Arcs
summary(Arcs)
plot(Arcs)
Xp<-runif(n,a+10,b+10)
Arcs=arcsCSint(Xp,int,tau,c)
Arcs
summary(Arcs)
plot(Arcs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.