nativeRaster
R/nr-core.R
nr_duplicate.Rd
Create a new nativeRaster image and copy the dimensions and contents from an existing image
nr_duplicate(nr)
New nativeRaster
nr1 <- nr_new(200, 200, 'hotpink') nr2 <- nr_duplicate(nr1) plot(nr2)