Learn R Programming

Rnightlights (version 0.1.2)

validNlYearNum: Check if a year is valid for a given nightlight type

Description

Check if a year is valid for a given nightlight type

Usage

validNlYearNum(yearNum, nlType)

Arguments

yearNum

the year of interest

nlType

type of nightlight either "VIIRS" or "OLS"

Value

TRUE/FALSE

Examples

Run this code
# NOT RUN {
validNlYearNum("2014","VIIRS")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab