| interval_properties | R Documentation |
datey_intervalGet the start, end or duration of a datey_interval using the syntax
$start, $end or $duration respectively.
$duration is the duration of the interval provided it is proper
(i.e. start <= end).
If the interval is improper then $durationis NA_durationy_.
When x is a datey_interval then x$duration is identical to
durationy(x).
## S3 method for class 'datey_interval'
x$name
x |
The |
name |
Must be |
start and end return a vector of datey;
duration returns a vector of durationy.
datey_interval, interval_nature, interval_includes
t_1 <- start_day(2001, 1, 1)
t_2 <- start_day(2002, 2, 2)
interval <- datey_interval(t_1, t_2)
interval
interval$start
interval$end
interval$duration
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.