max.partial_time: Get the maximum of a parttime vector

View source: R/class_partial_time_min_max.R

max.partial_timeR Documentation

Get the maximum of a parttime vector

Description

Get the maximum of a parttime vector

Usage

## S3 method for class 'partial_time'
max(..., na.rm = FALSE, na.warn = TRUE)

Arguments

...

partial_time objects

na.rm

whether NA should be removed when calculating max

na.warn

whether to raise a warning for NA

Value

A partial_time scalar

Examples

max(parttime(c("2019", "2018", "2019-02", "2018-03")))


parttime documentation built on May 29, 2024, 6:25 a.m.