bdTimeDate object from a character vector, a vector of julian days, or a vector of milliseconds, or construct an empty
bdTimeDate object.
This function requires the bigdata library section to be loaded.
bdTimeDate(charvec, julian=0, ms=0, in.origin=c(month=1, day=1, year=1960)) as.bdTimeDate(x) is.bdTimeDate(x)
charvec,
julian
, or
ms
must be supplied, unless the function is called with no arguments.
as.bdTimeDate,
a
timeDate vector, or another vector
or a
bdVector,
or single-column
bdFrame that can be interpreted as time-date
informaton.
Any S-PLUS object for
is.bdTimeDate.
in.origin. If
ms is missing, this argument can also be a numeric whose fractional part gives the fraction of the day.
julian argument. This should be a vector with
month,
day, and
year components.
bdTimeDate object derived from the inputs.
If
charvec is given, values are read from
its character strings using the format string from
options("time.in.format")
.
If
charvec is not supplied, then
julian
and/or
ms
are used to construct the bdTimeDate vector.
bdTimeDate()
bdTimeDate(c("1/1/97", "2/1/97", "mar 1, 1997"))
bdTimeDate(julian = 36, ms = 876393,
in.origin = c(month=1,day=1,year=1998))