Create a new nativeRaster image and copy the dimensions and contents from an existing image

nr_duplicate(nr)

Arguments

nr

nativeRaster

Value

New nativeRaster

Examples

nr1 <- nr_new(200, 200, 'hotpink')
nr2 <- nr_duplicate(nr1)
plot(nr2)