summary.NumEdges {pcds.ugraph} | R Documentation |
Return a summary of a NumEdges
object
Description
Returns the below information about the object
:
call
of the function defining the object
,
the description of the output, desc
, and
type of the graph as "underlying" or "reflexivity",
number of edges in the underlying or reflexivity graph of
the proximity catch digraph (PCD) and
related quantities in the induced subgraphs for points in the Delaunay cells.
In the one Delaunay cell case, the function provides
the total number of edges in the underlying or reflexivity graph,
vertices of Delaunay cell, and
indices of target points in the Delaunay cell.
In the multiple Delaunay cell case, the function provides total number of edges in the underlying or reflexivity graph, number of edges for the induced subgraphs for points in the Delaunay cells, vertices of Delaunay cells or indices of points that form the the Delaunay cells, indices of target points in the convex hull of nontarget points, indices of Delaunay cells in which points reside, and area or length of the the Delaunay cells.
Usage
## S3 method for class 'NumEdges'
summary(object, ...)
Arguments
object |
An |
... |
Additional parameters for |
Value
The call
of the object
of class "NumEdges"
,
the desc
of the output,
the type of the graph as "underlying" or "reflexivity",
total number of edges in the underlying or reflexivity graph.
Moreover, in the one Delaunay cell case, the function also provides
vertices of Delaunay cell, and
indices of target points in the Delaunay cell;
and in the multiple Delaunay cell case, it also provides
number of edges for the induced subgraphs for points in the Delaunay cells,
vertices of Delaunay cells or indices of points that form the the Delaunay cells,
indices of target points in the convex hull of nontarget points,
indices of Delaunay cells in which points reside,
and area or length of the the Delaunay cells.
See Also
print.NumEdges
, print.summary.NumEdges
,
and plot.NumEdges
Examples
#\donttest{
nx<-15; ny<-5;
set.seed(1)
Xp<-cbind(runif(nx),runif(nx))
Yp<-cbind(runif(ny,0,.25),
runif(ny,0,.25))+cbind(c(0,0,0.5,1,1),c(0,1,.5,0,1))
M<-c(1,1,1) #try also M<-c(1,2,3)
Nedges = num.edgesAS(Xp,Yp,M)
Nedges
summary(Nedges)
#}