Learn R Programming

pcds.ugraph (version 0.1.1)

summary.UndPCDs: Return a summary of an UndPCDs object

Description

Returns the below information about the object:

call of the function defining the object, the type (i.e. the description) of the underlying or reflexivity graph of the proximity catch digraph (PCD), some of the partition (i.e. intervalization in the 1D case and triangulation in the 2D case) points (i.e., vertices of the intervals or the triangles), parameter of the underlying or reflexivity graphs of the PCD, and various quantities (number of vertices, number of edges and edge density of the underlying or reflexivity graphs of the PCDs, number of vertices for the partition and number of partition cells (i.e., intervals or triangles)).

Usage

# S3 method for UndPCDs
summary(object, ...)

Value

The call of the object of class "UndPCDs", the type (i.e. the description) of the underlying or reflexivity graphs of the proximity catch digraph (PCD), some of the partition (i.e. intervalization in the 1D case and triangulation in the 2D case) points (i.e., vertices of the intervals or the triangles), parameters of the underlying or reflexivity graph of the PCD, and various quantities (number of vertices, number of edges and edge density of the underlying or reflexivity graphs of the PCDs, number of vertices for the partition and number of partition cells (i.e., intervals or triangles)).

Arguments

object

An object of class UndPCDs.

...

Additional parameters for summary.

See Also

print.UndPCDs, print.summary.UndPCDs, and plot.UndPCDs

Examples

Run this code
#\donttest{
nx<-20; ny<-5;
set.seed(1)
Xp<-cbind(runif(nx,0,1),runif(nx,0,1))
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)
r<-1.5
Edges<-edgesPE(Xp,Yp,r,M)
Edges
summary(Edges)
#}

Run the code above in your browser using DataLab