climograph | R Documentation |
Function to plot climograph of a given location in the world.
climograph( name = "worldclim", res = 10, lon = 39.5, lat = 40.5, path = "", download = TRUE, style = "normal", save = FALSE, filename = "Rplots.pdf", height = 7, width = 7, bg = "transparent" )
name |
character. Name of dataset, default is worldclim. |
res |
numeric. One of 0.5, 1, 5, 10. Resolution of worldclim data to use, default is 10. |
lon |
Longitude of location you want to create climograph for. |
lat |
Latitude of location you want to create climograph for. |
path |
Character. Path name indicating where to store the data. Default is the current working directory. |
download |
Logical. If TRUE data will be downloaded if not locally available |
style |
character. normal, plotly or ggplot. Defaults to normal. |
save |
True/False. If Plot should be saved to file. |
filename |
the name of the output file. |
height |
the height of the device in inches. |
width |
the width of the device in inches. |
bg |
the initial background colour, default is transparent. |
Returns a climograph plot with coordinates (x,y) and corresponding raster values.
## Not run: climograph(lon=39.5, lat=40.5) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.