Learn R Programming

kgc (version 1.0.0.2)

CZUncertainty: CZUncertainty

Description

This function will return the uncertainty associated with the predicted climate zone along with other potential climate zones.

Usage

CZUncertainty(data)

Arguments

data

The co-ordinates for the location you are trying to predict the climate zone of.

Value

The uncertainty associated with the located climate zone along with other potential climate zones.

Examples

Run this code
# NOT RUN {
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))
data <- data.frame(data, CZUncertainty(data))
# }

Run the code above in your browser using DataLab