View source: R/UndClassFunctions.R
print.NumEdges | R Documentation |
NumEdges
object
Prints the call
of the object
of class "NumEdges"
and also the desc
(i.e. a brief description) of the output.
## S3 method for class 'NumEdges'
print(x, ...)
x |
A |
... |
Additional arguments for the S3 method |
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.
summary.NumEdges
, print.summary.NumEdges
,
and plot.NumEdges
#\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)
#}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.