Description Usage Arguments Value Examples
The function compare two raster or bricks with different z values(uhat and v images) It check if the images has the same extension, resolution, coordinate reference system, columns and rows.
1 | img2varmer(uhat.img, v.img)
|
uhat.img |
The interpolated image as a raster or brick. |
v.img |
The satellite image as a raster or brick. |
If the images have the same extension, resolution, coordinate reference system, columns and rows.
A list containing two data frames (uhat and v) in the necessary format to varmer function (x,y,layer1,layer2).
If the images has not the same values an error message is returned.
1 2 3 4 5 6 | library(raster)
data(uhat_raster,"VARMER")
force(uhat.raster)
data(v_raster,"VARMER")
force(v.raster)
img2varmer(uhat.raster,v.raster)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.