crtv {rtv} | R Documentation |
Continuous Random Time Variable Objects
Description
Functions for creating continuous random time variable, crtv, objects.
Usage
crtv(...)
## S3 method for class 'drtv':
crtv(x, ...)
## S3 method for class 'crtv':
crtv(x, origin=NULL, unit=NULL,
clone=FALSE, relative=FALSE, ...)
## S3 method for class 'character':
crtv(x, date=getOption ("rtv.read.date"),
informat=timestring.format (date), ...)
## S3 method for class 'Date':
crtv(x, ...)
## S3 method for class 'POSIXlt':
crtv(x, ...)
## S3 method for class 'POSIXct':
crtv(x, relative=FALSE,
origin=getOption ("rtv.default.origin"),
unit=getOption ("rtv.default.unit"), ...)
## Default S3 method:
crtv(x,
origin=getOption ("rtv.default.origin"),
unit=getOption ("rtv.default.unit"), ...)
Arguments
x |
A seed object. |
clone |
If origin and unit unspecified, use those from seed crtv object. |
relative |
If true, the origin will be min (x, na.rm=TRUE). |
origin |
The origin, ignored if relative is true. |
unit |
The unit. |
date |
Date or date-tod format. Ignored if informat provided. |
informat |
The string format. |
... |
Arguments for other crtv constructors. |
[Package
rtv version 0.3.1
Index]