newNlType: Convert pre-0.2.0 nlType names to their new names

Description Usage Arguments Value Examples

View source: R/upgrade.R

Description

Convert pre-0.2.0 nlType names to their new names. Pre 0.2.0 has only 2 nlTypes i.e. OLS and VIIRS. They are renamed as follows:

Usage

1
newNlType(oldNlType)

Arguments

oldNlType

character The old nlType i.e. "OLS" or "VIIRS"

Value

character The new nlType i.e. "OLS.Y" or "VIIRS.M"

Examples

1
2
Rnightlights:::newNlType("VIIRS")
 #returns "VIIRS.M"

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