gridmap | R Documentation |
A function that uses LatticeKrieg
and elevation data to grid station
based data and present a map.
gridmap(
Y,
FUN = "mean",
colbar = list(pal = "t2m"),
project = "lonlat",
xlim = NULL,
ylim = NULL,
zlim = NULL,
verbose = FALSE,
plot = FALSE,
new = TRUE
)
Y |
A station object or a PCA object. |
FUN |
A function or name of a function, e.g, "mean" or "trend" |
colbar |
A list specifying the color bar, e.g., list(col="precip", breaks=seq(1,10), rev=FALSE) |
project |
projection: "lonlat" or "sphere" |
xlim |
range of x-axis |
ylim |
range of y-axis |
zlim |
range of color axis |
verbose |
if TRUE print information about progress |
plot |
if TRUE display results as plots |
new |
if TRUE plot in new window |
data("precip.NORDKLIM")
precip.gp <- gridmap(precip.NORDKLIM, plot=TRUE)
map(precip.gp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.