This function generates raster plot using ggplot2.
1 | raster.plot(data, value.range, boundary, coord.ratio = 1)
|
data |
The data to be displayed with columns:
|
value.range |
The range of value displayed on the plot. |
boundary |
Boundary of the plot. The value out of boundary is |
coord.ratio |
Aspect ratio, expressed as y / x. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.