View source: R/raster_gradient.R
rast_to_xyz | R Documentation |
Transform SpatRast to convenient format for grad_terra
rast_to_xyz(rast)
rast |
SpatRast object |
List with elements x (grid of x values), y (grid of y values), and z (matrix of raster values), as expected by grad_terra()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.