Rglimclim example datasets {Rglimclim}R Documentation

Rglimclim example datasets

Description

These data sets relate to an artificial example involving daily rainfall from six sites in Ashdown Forest in Sussex, England, from 1970 to 1989. A map of the area can be found in Milne (1958). The data were actually generated by simulating a GLM fitted elsewhere, with appropriate modifications. These simulated data exhibit many typical features of rainfall sequences in northwestern Europe. To make things more realistic, rainfall amounts less than 0.1mm have been set to ‘trace’ values and appear in the files as values of 0.05mm. Moreover, approximately 20% of the values are missing (at random).

Usage

data(GLCdemo)

Format

See Details section below.

Details

This data library contains several objects used in the examples throughout the Rglimclim package. The objects are as follows:

Ashdown.sites

A data frame with six rows and three columns, containing details of six locations (one per row) in Ashdown Forest. The columns are as follows:

Name The site name
Region The region (1 or 2) in which the site is located - see "Ashdown.regions" below
Eastings Eastings co-ordinate (as measured, in inches, from the inside jacket cover of Milne 1958)
Northings Northings co-ordinate, measured similarly

The rownames of the data frame contain 4-character site identifiers. NB the first two characters of each identifier are spaces!

Ashdown.regions

A data frame with three rows and two columns, defining the names of the region and subregions of Ashdown Forest. The columns are:

Region 0, 1 or 2 (o corresponding to the whole area)
Name The region name, to be used in labelling simulation output
Ashdown.data

A data frame containing artificial daily rainfall time series from six sites in Ashdown Forest, from 1970 to 1989. The columns are Year, Month, Day, Site (a four-character site identifier) and Rain.

Ashdown.IntensityModel.Initial

An object of class GLC.modeldef defining the structure for the rainfall intensity model used in Section 5.3.7 of the PDF package manual.

ConstantModel

An object of class GLC.modeldef defining the structure for a model consisting of a constant term and nothing else. This can be used to generate an initial model definition file at the start of an analysis, using write.modeldef.

SimpleModel

An object of class GLC.modeldef defining the structure for a simple logistic regression model consisting of a constant term, a Fourier representation of seasonality and indicators for non-zero amounts on three previous days. Again, this can perhaps be used to generate an initial model definition file.

DemoModel

An object of class GLC.modeldef defining the structure for the final logistic regression model considered in Chapter 5 of the PDF package manual. This object also contains residual information for the model, as fitted to the data in Ashdown.data; it is used in the examples for GLCfit.

References

Milne, A. A. (1958). The World of Pooh (the complete Winnie-the-Pooh and The House at Pooh Corner). Methuen, London.

See Also

the PDF package manual, in particular the example in Chapter 5.


[Package Rglimclim version 1.3-5 Index]