Description Usage Arguments Details Value See Also Examples
Visualises the original Jenkinson & Collison scheme for one given central point surrounded by the 16-points.
1 | plot_jcscheme(centralp, loni, lati, fullmap = TRUE)
|
centralp |
Array with the central point (lonigutde, latitude). |
loni |
Array with longitude values. |
lati |
Array with latitude values. |
fullmap |
Logical. If TRUE a fullmap is plotted, if FALSE, only the region selected is plotted. |
The map shows the scheme over the whole map, or either it shows the scheme over the selected region. For that, the maximum and mininum coordinates are defined as: Maximum longitude, by default defined by the points: x6, x10 or 14. Minimum longitude, by default defined by the points: x3, x7 or 11. Maximum latitude, by default defined by the points: x1 or x2. Minimum latitude, by default defined by the points: x15 or 16.
A plot device
1 2 3 4 5 6 7 8 9 10 | # Visualise the scheme for one point
library(jcext)
# Define a central point
mycentral <- c(10,50)
# load the data to get coordinates
data(press)
# Visualise the whole map
plot_jcscheme(mycentral,press$loni,press$lati,fullmap=TRUE)
# Visualise the region
plot_jcscheme(mycentral,press$loni,press$lati,fullmap=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.