Learn R Programming

dint (version 2.1.4)

Summary.date_xx: Maxima and Minima for date_xx

Description

Maxima and Minima for date_xx

Usage

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

Value

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

Arguments

...

date_xx vectors with the same subclass

na.rm

logical: should missing values be removed?

Examples

Run this code
min(date_yq(2014, 1), date_yq(2014, 2))

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

Run the code above in your browser using DataLab