Description Usage Arguments Value Note Author(s) Examples
pems elements objects can be manipulated using generic functions like print, plot and summary in a similar fashion to objects of other R classes.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | ## S3 method for class 'pems.element'
x[i, ..., force = TRUE, wrap = FALSE]
## S3 replacement method for class 'pems.element'
x[i, ..., force = TRUE, wrap = FALSE] <- value
## S3 method for class 'pems.element'
as.pems(x, ...)
## S3 method for class 'pems.element'
print(x, ..., n = NULL, rows = NULL, width = NULL)
## S3 method for class 'pems.element'
plot(x, y = NULL, xlab = NULL, ylab = NULL, ...)
## S3 method for class 'pems.element'
units(x)
## S3 replacement method for class 'pems.element'
units(x) <- value
## S3 method for class 'pems.element'
summary(object, ...)
## S3 method for class 'pems.element'
round(x, ...)
|
x,object |
(An Object of pems.element class). For direct use with |
i |
Element indices, which operate in a similar fashion to |
... |
Addition options, typically passed to associated default method(s). |
force, wrap |
(Logicals) Data element handling options: |
value |
(Vector) For calls in |
n, rows, width |
(Numerics) For |
y, xlab, ylab |
(other plot arguments). As with the default |
Generic functions provide appropriate (conventional)
handling of objects of 'pems.elements'
class:
print(pems.element)
provides a (to console)
description of the supplied pems.element
object.
plot(pems.element)
generates a standard R plot
of the supplied pems.element
.
units(pems.element)
extracts the units from the
supplied pems.element
.
A dedicated round(pems.element)
is required as
a wrapper to round.Date
and round.POSIXt
handling.
Karl Ropkins
1 2 | #the velocity pems.element in pems.1
pems.1$velocity
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.