## min, max, range ## S3 method for class 'Date': Summary(..., na.rm) ## S3 method for class 'POSIXct': Summary(..., na.rm) ## S3 method for class 'POSIXlt': Summary(..., na.rm)## min, max, range, sum ## S3 method for class 'difftime': Summary(..., na.rm)
na.rm | a logical flag. If TRUE, removes missing values before computation. The default is FALSE. |
... | additional arguments. |
## Date (d <- Sys.Date() + 1:10) range(d)## POSIXct (ct <- Sys.time() + 1:10) range(ct)
## POSIXlt (lt <- as.POSIXlt(Sys.time() + 1:10)) range(lt)
## difftime (dt <- Sys.time() - as.POSIXct(Sys.Date()) + 1:10) sum(dt)