Description Usage Arguments Value Examples
This function will return the climate zone for the co-ordinates provided.
1 |
data |
The co-ordinates for the location you are trying to predict the climate zone of (format is three column dataframe, first column site IDs, second column longitude values, third column latitude values). |
res |
Specify the resolution as a string - 'course' for lower resolution (default, 0.5 degrees), 'fine' for higher resolution (100s). |
rc |
Specify whether to generate the rounded coordinate columns in the input dataframe, default is FALSE. |
The climate zone for the co-ordinates provided.
1 2 3 4 5 6 7 | data <- data.frame(Site = c("GC","UFS","NEG"),
Longitude = c(-15.42,10.98,34.78),
Latitude = c(27.82,47.42,30.86))
data <- data.frame(data,
rndCoord.lon = RoundCoordinates(data$Longitude),
rndCoord.lat = RoundCoordinates(data$Latitude))
data <- data.frame(data,ClimateZ=LookupCZ(data))
|
Loading required package: shiny
Loading required package: shinythemes
Loading required package: plyr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.