Learn R Programming

fitzRoy (version 0.3.3)

verify_year: Returns year as numeric after verifying the validity of the year.

Description

verify_year returns a numeric year, after to doing a validity check

Usage

verify_year(year)

Arguments

year

haracter string or numeric for year, in "YYYY"ormat

Value

eturns year as numeric

Examples

Run this code
# NOT RUN {
#
# }
# NOT RUN {
verify_year(2012)
# }

Run the code above in your browser using DataLab