allValidNlPeriods: Check if all nlPeriods are valid for given nlTypes

Description Usage Arguments Value Examples

View source: R/nlperiod.R

Description

Check if all nlPeriods are valid for given nlTypes

Usage

1
allValidNlPeriods(nlPeriods, nlTypes)

Arguments

nlPeriods

vector or list of character vectors The nlPeriods of interest

nlTypes

vector or list of character vectors type of nightlight

Value

logical TRUE/FALSE

Examples

1
2
3
4
5
6
7
8
Rnightlights:::allValidNlPeriods(c("201401", "201402"),"VIIRS.M")
 #returns TRUE

Rnightlights:::allValidNlPeriods("201203","VIIRS.M")
 #returns FALSE

Rnightlights:::allValidNlPeriods("2012","OLS.Y")
 #returns TRUE

chrisvwn/Rnightlights documentation built on Sept. 7, 2021, 1:44 a.m.