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

nr_copy(nr)

Arguments

nr

native raster image

Value

New native raster image

See also

Other image creation functions: nr_new()

Examples

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