Learn R Programming

pcds (version 0.1.8)

print.PCDs: Print a PCDs object

Description

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

Usage

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

Value

The call of the object of class "PCDs"

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

Arguments

x

A PCDs object.

...

Additional arguments for the S3 method 'print'.

See Also

summary.PCDs, print.summary.PCDs, and plot.PCDs

Examples

Run this code
# \donttest{
A<-c(1,1); B<-c(2,0); C<-c(1.5,2);
Tr<-rbind(A,B,C);
n<-10
Xp<-runif.tri(n,Tr)$g
M<-as.numeric(runif.tri(1,Tr)$g)
Arcs<-arcsAStri(Xp,Tr,M)
Arcs
print(Arcs)

typeof(Arcs)
attributes(Arcs)
# }

Run the code above in your browser using DataLab