Learn R Programming

Rnightlights (version 0.1.2)

validNlPeriodOLS: Check if an OLS nlYear is valid

Description

Check if an OLS nlYear is valid

Usage

validNlPeriodOLS(nlYear)

Arguments

nlYear

the year in "YYY" format e.g. "2012"

Value

TRUE/FALSE

Examples

Run this code
# NOT RUN {
validNlPeriodOLS("2015")
# }
# NOT RUN {
 #returns FALSE

# }
# NOT RUN {
validNlPeriodOLS("2004")
# }
# NOT RUN {
 #returns TRUE

# }
# NOT RUN {
validNlPeriodOLS("201201")
# }
# NOT RUN {
 #returns FALSE

# }

Run the code above in your browser using DataLab