nativeRaster
R/nr-scale.R
nr_scale.Rd
Scale the size of a nativeRaster using Nearest Neighbour resizinng
nr_scale(nr, scale, algo = "nn")
scale factor
'nn' for nearest neighbour (the default), or 'bilinear' for bilinear interpolation.
New nativeRaster
big <- nr_scale(deer_sprites[[1]], 2) plot(big)