print.NumEdges {pcds.ugraph}R Documentation

Print a NumEdges object

Description

Prints the call of the object of class "NumEdges" and also the desc (i.e. a brief description) of the output.

Usage

## S3 method for class 'NumEdges'
print(x, ...)

Arguments

x

A NumEdges object.

...

Additional arguments for the S3 method 'print'.

Value

The call of the object of class "NumEdges" and also the desc (i.e. a brief description) of the output: 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.

See Also

summary.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
print(Nedges)

typeof(Nedges)
attributes(Nedges)
#}


[Package pcds.ugraph version 0.1.1 Index]