Summary.date_xx: Maxima and Minima for date_xx

Summary.date_xxR Documentation

Maxima and Minima for date_xx

Description

Maxima and Minima for date_xx

Usage

## S3 method for class 'date_xx'
Summary(..., na.rm)

Arguments

...

date_xx vectors with the same subclass

na.rm

logical: should missing values be removed?

Value

for min() and max() a scalar of the same date_xx subclass as it's input, for range a vector of length 2

Examples

min(date_yq(2014, 1), date_yq(2014, 2))

# raises an error
try(min(date_yq(2014, 1), date_ym(2014, 2)))

dint documentation built on Oct. 17, 2022, 9:06 a.m.