methods.box3 | R Documentation |
Methods for class "box3"
.
## S3 method for class 'box3'
print(x, ...)
## S3 method for class 'box3'
unitname(x)
## S3 replacement method for class 'box3'
unitname(x) <- value
x |
Object of class |
... |
Other arguments passed to |
value |
Name of the unit of length. See |
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.
For print.box3
the value is NULL
.
For unitname.box3
an object of class "units"
.
and \rolf
box3
,
print
,
unitname
X <- box3(c(0,10),c(0,10),c(0,5), unitname=c("metre", "metres"))
X
unitname(X)
# Northern European usage
unitname(X) <- "meter"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.