nativeRaster
R/nr-core.R
nr_copy_into.Rd
The source and destination nativeRaster images must have the same dimensions.
nr_copy_into(dst, src)
Source and destination nativeRaster images
The 'dst' nativeRaster
If the nativeRaster images are of different sizes, use the nr_blit() function.
nr_blit()
nr1 <- nr_new(200, 100, 'hotpink') nr2 <- nr_new(200, 100, 'green') nr_copy_into(nr1, nr2) plot(nr1)