print.deldir.RdPrints a very brief description of an object of class "deldir"
as returned by deldir().
# S3 method for class 'deldir'
print(x,digits=NULL,...)A Delaunay triangulation and Dirichlet (Voronoi) tessellation
of a set of points (object of class "deldir").
Integer scalar. The number of digits to which to round the
numeric information before printing. Note this may be give
negative values. (See round().)
Not used.
This is a method for the generic print() function.
print()
set.seed(42)
x <- rnorm(200,0,4)
y <- rnorm(200,0,4)
dxy1 <- deldir(x,y)
dxy2 <- deldir(x,y,rw=c(-12,12,-11,11))
dxy1
#>
#> Delaunay triangulation and Dirchlet tessellation
#> of 200 points.
#>
#> Enclosing rectangular window:
#> [-14.250353,13.085556] x [-12.863529,11.902184]
#>
#> Area of rectangular window (total area of
#> Dirichlet tiles):
#> 676.9933
#>
#> Area of convex hull of points (total area of
#> Delaunay triangles):
#> 331.27
#>
dxy2
#>
#> Delaunay triangulation and Dirchlet tessellation
#> of 200 points.
#>
#> Enclosing rectangular window:
#> [-12,12] x [-11,11]
#>
#> Area of rectangular window (total area of
#> Dirichlet tiles):
#> 528
#>
#> Area of convex hull of points (total area of
#> Delaunay triangles):
#> 331.27
#>
print(dxy1,digits=4)
#>
#> Delaunay triangulation and Dirchlet tessellation
#> of 200 points.
#>
#> Enclosing rectangular window:
#> [-14.2504,13.0856] x [-12.8635,11.9022]
#>
#> Area of rectangular window (total area of
#> Dirichlet tiles):
#> 676.9933
#>
#> Area of convex hull of points (total area of
#> Delaunay triangles):
#> 331.27
#>