Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

methods.box3

Methods for Three-Dimensional Box


Description

Methods for class "box3".

Usage

## S3 method for class 'box3'
print(x, ...)
  ## S3 method for class 'box3'
unitname(x) 
  ## S3 replacement method for class 'box3'
unitname(x) <- value

Arguments

x

Object of class "box3" representing a three-dimensional box.

...

Other arguments passed to print.default.

value

Name of the unit of length. See unitname.

Details

These are methods for the generic functions print and unitname for the class "box3" of three-dimensional boxes.

The print method prints a description of the box, while the unitname method extracts the name of the unit of length in which the box coordinates are expressed.

Value

For print.box3 the value is NULL. For unitname.box3 an object of class "units".

Author(s)

and Rolf Turner r.turner@auckland.ac.nz

See Also

Examples

X <- box3(c(0,10),c(0,10),c(0,5), unitname=c("metre", "metres"))
   X
   unitname(X)
   # Northern European usage
   unitname(X) <- "meter"

spatstat.geom

Geometrical Functionality of the 'spatstat' Family

v2.1-0
GPL (>= 2)
Authors
Adrian Baddeley [aut, cre], Rolf Turner [aut], Ege Rubak [aut], Tilman Davies [ctb], Ute Hahn [ctb], Abdollah Jalilian [ctb], Sebastian Meyer [ctb], Suman Rakshit [ctb], Dominic Schuhmacher [ctb], Rasmus Waagepetersen [ctb]
Initial release
2021-04-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.