Methods for rtv Objects
Description
Methods implemented for rtv objects. Most mathematical methods, will return an rtv object of the same class as the argument. The return type of c.rtv matches the first argument. The function diff, returns a numeric. The function sample.rtv is not an R method and may be removed or renamed in a future release.
Usage
## S3 method for class 'rtv':
length(x, ...)
## S3 method for class 'rtv':
sort(x, ...)
## S3 method for class 'rtv':
subset(x, v, ...)
## S3 method for class 'drtv':
x[i]
## S3 method for class 'crtv':
x[i]
## S3 method for class 'rtv':
mean(x, ...)
## S3 method for class 'rtv':
diff(x, ...)
## S3 method for class 'rtv':
min(x, ...)
## S3 method for class 'rtv':
max(x, ...)
## S3 method for class 'rtv':
floor(x, ...)
## S3 method for class 'rtv':
ceiling(x, ...)
## S3 method for class 'rtv':
range(x, diff=FALSE, ...)
## S3 method for class 'rtv':
+(x1, x2=NULL)
## S3 method for class 'rtv':
-(x1, x2=NULL)
## S3 method for class 'rtv':
print(x, ...)
sample.rtv (x, ...)
c.rtv (...)
Arguments
x |
An rtv object. |
x1 |
|
x2 |
|
i |
Indices. |
v |
Logical vector. |
diff |
If true, return the difference. |
... |
For c.rtv, a list of rtv objects, otherwise further arguments for the child call, e.g. na.rm=TRUE. |
[Package
rtv version 0.3.1
Index]