print.NumArcs: Print a 'NumArcs' 'object'

View source: R/ClassFunctions.R

print.NumArcsR Documentation

Print a NumArcs object

Description

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

Usage

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

Arguments

x

A NumArcs object.

...

Additional arguments for the S3 method 'print'.

Value

The call of the object of class "NumArcs" and also the desc (i.e. a brief description) of the output: number of arcs in the proximity catch digraph (PCD) and related quantities in the induced subdigraphs for points in the Delaunay cells.

See Also

summary.NumArcs, print.summary.NumArcs, and plot.NumArcs

Examples

## Not run: 
nx<-15; ny<-5;  #try also nx<-40; ny<-10 or nx<-1000; ny<-10;

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))
#try also Yp<-cbind(runif(ny,0,1),runif(ny,0,1))

M<-"CC"  #try also M<-c(1,1,1)

Narcs<-num.arcsAS(Xp,Yp,M)
Narcs
print(Narcs)

typeof(Narcs)
attributes(Narcs)

## End(Not run)


elvanceyhan/pcds documentation built on June 29, 2023, 8:12 a.m.