Reset global options for the Rnightlights package
1 | pkgReset()
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #get cropMaskMethod
pkgOptions("cropMaskMethod") #returns default "rast"
#set cropMaskMethod to "gdal"
pkgOptions(cropMaskMethod="gdal") #sets to "gdal"
#check cropMaskMethod has changed
pkgOptions("cropMaskMethod") #returns "gdal"
#reset pkgOptions
pkgReset()
#check cropMaskMethod has been reset
pkgOptions("cropMaskMethod") #returns default "rast"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.