Learn R Programming

solaR (version 0.46)

B1_Meteo-class: Class "Meteo"

Description

A class for meteorological data.

Arguments

Objects from the Class

Objects can be created by the family of readBD functions.

Slots

latData:

Latitude (degrees) of the meteorological station or source of the data.

data:

A zoo object with the time series of daily irradiation (G0, Wh/m<U+00B2>), the ambient temperature (Ta) or the maximum and minimum ambient temperature (TempMax and TempMin).

source:

A character with a short description of the source of the data.

type:

A character, prom, bd, bdI or mapa, depending on the constructor.

Methods

getData

signature(object = "Meteo"): extracts the data slot as a zoo object.

getG0

signature(object = "Meteo"): extracts the irradiation time series as a zoo object.

getLat

signature(object = "Meteo"): extracts the latitude value.

indexD

signature(object = "Meteo"): extracts the index of the data slot.

xyplot

signature(x = "formula", data = "Meteo"): plot the content of the object according to the formula argument.

xyplot

signature(x = "Meteo", data = "missing"): plot the data slot using the xyplot method for zoo objects.

See Also

readBD, readBDi, zoo2Meteo, df2Meteo, dfI2Meteo, readG0dm,