peguy: Peguy Climograph

Description Usage Arguments Examples

Description

Representation of Peguy Climograph from monthly weather data (Mean Temperature, Precipitation)

Usage

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", ...)

Arguments

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 attribute. Default is c("Temperate", "Cold", "Arid", "Hot"). Alternatively in Italian: it is c("Temperato","Freddo","Arido","Caldo")

xyField

column names of data for the x and y variables used in the Peguy Climate Diagram.

pointsField

column name of data containing the fields to be represent with different point colors. Default is month.

StationsField

column name of data containing the fields with station ID names. Default is station.

color.scale

character scale indicating a use of a specific color scale. Default is monthly.

...

further arguments

Examples

1
2
3
4
library(climograph)

data(TrentinoClimate)
p <- peguy(data=TrentinoClimate[TrentinoClimate$station %in% unique(TrentinoClimate$station)[1:3],])

ecor/climograph documentation built on May 15, 2019, 8:54 p.m.