| nr_scale | R Documentation |
Resize a native raster image using a scale factor
nr_scale(nr, scale, algo = "nn")
nr |
native raster image |
scale |
scale factor |
algo |
'nn' for nearest neighbor (the default), or 'bilinear' for bilinear interpolation. |
New native raster image
Other resizing functions:
nr_resize()
big <- deer[[1]] |> nr_scale(2)
plot(big)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.