checkStartEndDate: checkStartEndDate

Description Usage Arguments Value Examples

View source: R/checkStartEndDate.r

Description

Checks that the start date is before the end date. If not, it will give the user the opportunity to correct, otherwise will create a warning.

Usage

1
checkStartEndDate(startDate, endDate, interactive = TRUE)

Arguments

startDate

character

endDate

character

interactive

logical Option for interactive mode. If true, there is user interaction for error handling and data checks.

Value

vector where first value is startDate, second is endDate

Examples

1
2
3
startDate <- '1985-01-01'
endDate <- '1990-01-01'
checkStartEndDate(startDate, endDate)


EGRET documentation built on May 19, 2017, 11:05 p.m.
Search within the EGRET package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.