gridData | R Documentation |
This function summarizes data onto a grid, creates PBSmapping polySet and polyData
gridData(
Data,
domain.poly,
lvls,
bcol = "YlGnBu",
border = 1,
FUN = mean,
grid.size = 1,
aspr = "calculate",
sx,
sy,
ex,
ey
)
Data |
= PBSmapping::EventData |
domain.poly |
= polygon the defines the total area from which to construct the grid, dervied from data if missing |
lvls |
= levels |
bcol |
= RColorBrewer color palette |
border |
= polygon border |
FUN |
= summary function to apply to data within a grid cell |
grid.size |
= size of the grid cells (km) |
aspr |
= aspect ratio for for creating square grid, default is to calculate from data |
sx |
= defines total extent to grid, defaults to the extent of the data |
sy |
= defines total extent to grid, defaults to the extent of the data |
ex |
= defines total extent to grid, defaults to the extent of the data |
ey |
= defines total extent to grid, defaults to the extent of the data |
Brad Hubley
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.