Learn R Programming

ade4 (version 1.7-19)

t3012: Average temperatures of 30 French cities

Description

This data set gives the average temperatures of 30 French cities during 12 months.

Usage

data(t3012)

Arguments

Format

t3012 is a list with the following components:

xy

a data frame with 30 rows (cities) and 2 coordinates (x, y)

temp

a data frame with 30 rows (cities) and 12 columns (months). Each column contains the average temperature in tenth of degree Celsius.

contour

a data frame with 4 columns (x1, y1, x2, y2) for the contour display of France

Spatial

an object of the class SpatialPolygons of sp, containing the map

Examples

Run this code
data(t3012)
data(elec88)

if(adegraphicsLoaded()) {
  if(requireNamespace("sp", quietly = TRUE)) {
    s.arrow(t3012$xy, pori.ori = as.numeric(t3012$xy["Paris", ]), Sp = t3012$Spatial, 
      pSp.col = "white", pgrid.draw = FALSE)
  }
} else {
  area.plot(elec88$area)
  s.arrow(t3012$xy, ori = as.numeric(t3012$xy["Paris", ]), add.p = TRUE)
}

Run the code above in your browser using DataLab