View source: R/ridgeline_topography.R
raster_to_dataframe | R Documentation |
Convert a raster where cell values correspond to elevation to a data frame where each cell is an observation with the variables "x", "y", and "elev".
raster_to_dataframe(elev_raster)
elev_raster |
The elevation raster to convert. |
A data frame with the variables "x", "y", and "elev".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.