spatial.plot | R Documentation |
Plot an spatially arranged continuous variable
spatial.plot(dat, scale = c("divergent", "sequential"))
dat |
A 3-column data.frame with names 'x', 'y' and 'z' where the first two are the spatial coordinates, and 'z' is the value to be represented |
scale |
Character. 'divergent' represents positive and negative values with different colours. 'sequential' uses a gradient scale of two colours. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.