Description Usage Arguments Author(s) References Examples
Representation of Peguy Climograph from monthly weather data (Mean Temperature, Precipitation)
1 2 3 4 5 6 | peguy(data = NULL, TemperatureTriangleCoords = c(0, 23.4, 15),
PrecipitationTriangleCoords = c(0, 40, 200), ylab = "Precipitation[mm]",
xlab = "Mean Temperature [degC]", lambda.label = 1.75,
climate.label = c("Temperate", "Cool", "Arid", "Hot"), xyField = c("Tn",
"P"), pointsField = "month", StationsField = "station",
color.scale = "monthly", ...)
|
data |
input dataset with climatological monthly weather data |
TemperatureTriangleCoords |
Temperature coordinates for triangle vertices in the Peguy Climograph. Default coordinates are expressed in Celsius Degrees. |
PrecipitationTriangleCoords |
Precipitation coordinates for triangle vertices in the Peguy Climograph. Default coordinates are expressed in millimeters. |
xlab, ylab |
xy axis labels |
lambda.label |
numeric value used to locate climate attribute labels |
climate.label |
string vector containing climate attributes. Default is |
xyField |
column names of |
pointsField |
column name of |
StationsField |
column name of |
color.scale |
character scale indicating a use of a specific color scale. Default is |
... |
further arguments |
Emanuele Cordano
Peguy, C.P. (1970) Precis de climatologie, ed. Masson, Paris.
1 2 3 4 5 6 7 8 9 10 11 12 | library(stringr)
data(Trent_climate)
TrentinoClimateDf <- do.call(rbind,clima_81_10)
names <- rownames(TrentinoClimateDf)
TrentinoClimateDf$station <- unlist(lapply(X=str_split(names,pattern="[.]"),FUN=function(x) {x[1]}))
data <- TrentinoClimateDf[TrentinoClimateDf$station %in% unique(TrentinoClimateDf$station)[1:3],]
p <- peguy(data=data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.