powered by
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:
OLS => "OLS.Y"
(VIIRS) => "VIIRS.M"
newNlType(oldNlType)
character The old nlType i.e. "OLS" or "VIIRS"
character
character The new nlType i.e. "OLS.Y" or "VIIRS.M"
# NOT RUN { Rnightlights:::newNlType("VIIRS") #returns "VIIRS.M" # }
Run the code above in your browser using DataLab