make_grid | R Documentation |
construct SpatialGridDataFrame
make_grid(
range = c(-180, 180, -90, 90),
cellsize = 1,
midgrid = c(TRUE, TRUE),
prj = NULL,
type = "base",
fix_lon360 = FALSE
)
get_grid.lonlat(lon, lat, fix_lon360 = FALSE)
fix_lon(x)
range |
A numeric vector, |
cellsize |
Numeric vector, grid cell size |
midgrid |
A vector, |
prj |
|
type |
Character, one of
|
fix_lon360 |
boolean |
The input matrix suits for image
, can be directly input to make_grid
.
range <- c(73, 105, 25, 40) # Tibetan Plateau
grid <- make_grid(range, cellsize = 1 / 2, midgrid = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.