Scale up a nativeRaster by an integer factor

nr_scale(nr, scale)

Arguments

nr

nativeRaster

scale

integer value >= 1

Value

New nativeRaster

Examples

nr1 <- nr_new(200, 100, 'white')
nr2 <- nr_scale(nr1, 2)