Gets the mean value of a vector of datey or durationy as a scalar.
This will entail rounding if the mean of the underlying click counts is not an integer.
Usage
# S3 method for class 'datey'
mean(x, ..., na.rm = FALSE)
# S3 method for class 'durationy'
mean(x, ..., na.rm = FALSE)Examples
t <- datey(2000:2003)
t
#> [1] 2000-01-01.0 2001-01-01.0 2002-01-01.0 2003-01-01.0
mean(t)
#> [1] 2001-07-02.5
