surface2df | R Documentation |
This function makes a clean convert of a rasterLayer to a 3-column dataframe. The first two columns will contain 'x' and 'y' coordinates, the third the rasterLayer 'value'. NA's are automatically removed.
surface2df(surface)
surface |
rasterLayer to be converted to a dataframe |
A 3-column dataframe with coordinates and value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.