Learn R Programming

pcds.ugraph (version 0.1.1)

print.UndPCDs: Print a UndPCDs object

Description

Prints the call of the object of class "UndPCDs" and also the type (i.e. a brief description) of the underlying and reflexivity graphs of the proximity catch digraph (PCD).

Usage

# S3 method for UndPCDs
print(x, ...)

Value

The call of the object of class "UndPCDs"

and also the type (i.e. a brief description) of the underlying or reflexivity graphs of the proximity catch digraph (PCD).

Arguments

x

An UndPCDs object.

...

Additional arguments for the S3 method 'print'.

See Also

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

typeof(Edges)
attributes(Edges)
#}

Run the code above in your browser using DataLab