Summary.date_xx {dint}R 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)))

[Package dint version 2.1.3 Index]