read_image | R Documentation |
This function reads in a multiband geotiff file, calculates ndvi using calc_ndvi function and returns ndvi image as a single layer.
read_image(filename, red_band = 6, nir_band = 4)
filename |
The tiff file with multiple bands. |
ndvi image
read_image('MULTIBAND.tiff')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.