R: Dating DateSet
Dating DateSet
Description
Creates a new dating of subclass DateSet.
Usage
DateSet(name, dates, envir=.Dating, overwrite=FALSE)
Arguments
name |
a valid Dating name (not yet in use)
|
dates |
a set of all dates belonging to the dating
|
envir |
an environment to be used
|
overwrite |
indicates whether an existing Dating should be overwritten
|
Details
An environment called .Dating is defined and used by default to contain the user-defined datesets.
Value
Returns the new Dating object.
The object and its dates (called <name>.Dates ) are assigned at the specified environment.
See Also
See also the reference for Dating objects.
Examples
# Creates a new dateset with an only date: today
## Not run: DateSet("Today", Sys.Date())
Results
|