gamair-package: Data and scripts for 'Generalized Additive Models: An...

Description Details Author(s) References See Also Examples

Description

This package contains the data sets used in the book Generalized Additive Models: An Introduction with R, which covers linear and generalized linear models, GAMs as implemented in package mgcv and mixed model extensions of these.

There are help files containing the R code for each chapter and its exercise solutions, for the second edition of the book.

The script files for the first edition of the book can be found in the 'scripts' folder of the 'inst' folder of the source package. They have been modified slightly to work with recent versions of mgcv (e.g. >= 1.7-0).

Details

Each dataset has its own help page, which describes the dataset, and gives the original source and associated references. All datasets have been reformatted into standard R data frames. Some smaller datasets from the book have not been included. Datasets from other R packages have not been included, with the exception of a distillation of one set from the NMMAPSdata package.

Index:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
aral                    Aral sea chlorophyll
aral.bnd                Aral sea boundary
bird                    Bird distribution data from Portugal
blowfly                 Nicholson's Blowfly data
bone                    Bone marrow treatment survival data.
brain                   Brain scan data
cairo                   Daily temperature data for Cairo
CanWeather              Canadian annual temperature curves
chicago                 Chicago air pollution and death rate data
chl                     Chlorophyll data
co2s                    Atmospheric CO2 at South Pole
coast                   European coastline from -11 to 0 East and from
                        43 to 59 North.
engine                  Engine wear versus size data
german.polys.rda        Polygons defining german local regions
gamair                  Generalized Additive Models: An Introduction
                        With R
harrier                 Hen Harriers Eating Grouse
hubble                  Hubble Space Telescope Data
ipo                     Initial Public Offering Data
larynx                  Cancer of the larynx in Germany
mack                    Egg data from 1992 mackerel survey
mackp                   Prediction grid data for 1992 mackerel egg
                        model
med                     2010 mackerel egg survey data
meh                     2010 horse mackerel egg survey data
prostate                Protein mass spectra for prostate diagnosis
sitka                   Sitka spruce growth and ozone data
sole                    Sole Eggs in the Bristol Channel
sperm.comp1             Sperm competition data I
sperm.comp2             Sperm competition data II
swer                    Swiss extreme ranfall data
stomata                 Artifical stomatal area data
wesdr                   Diabetic retinopathy data
wine                    Bordeaux Wines

Author(s)

Simon Wood <simon@r-project.org>

Maintainer: Simon Wood <simon@r-project.org>

References

Wood, S.N. (2006,2017) Generalized Additive Models: An Introduction with R, CRC

See Also

mgcv

Examples

1

Example output

		Information on package 'gamair'

Description:

Package:            gamair
Version:            1.0-0
Author:             Simon Wood <simon.wood@r-project.org>
Maintainer:         Simon Wood <simon.wood@r-project.org>
Title:              Data for "GAMs: An Introduction with R"
Description:        Data sets and scripts used in the book "Generalized
                    Additive Models: An Introduction with R", Wood
                    (2006) CRC.
Depends:            R (>= 2.10)
Suggests:           mgcv, lattice, MASS, nlme, lme4, geoR, survival
License:            GPL (>= 2)
Repository:         CRAN
Date/Publication:   2016-10-07 18:10:02
Packaged:           2016-10-07 09:49:42 UTC; sw283
NeedsCompilation:   no
Built:              R 3.3.1; ; "Sat, 08 Oct 2016 16:57:09 +0000"; unix

Index:

CanWeather              Canadian Weather data
aral                    Aral sea remote sensed chlorophyll data
bird                    Bird distribution data from Portugal
blowfly                 Nicholson's Blowfly data
bone                    Bone marrow treatemtn survival data
brain                   Brain scan data
cairo                   Daily temperature data for Cairo
ch1                     Code for Chapter 1: Linear Models
ch1.solutions           Solution code for Chapter 1: Linear Models
ch2                     Code for Chapter 2: Linear Mixed Models
ch2.solutions           Solution code for Chapter 2: Linear Mixed
                        Models
ch3                     Code for Chapter 3: Generalized Linear Models
ch3.solutions           Solution code for Chapter 3: Generalized Linear
                        Models
ch4                     Code for Chapter 4: Introducing GAMs
ch4.solutions           Solution code for Chapter 4: Introducing GAMs
ch5                     Code for Chapter 5: Smoothers
ch5.solutions           Solution code for Chapter 5: Smoothers
ch6                     Code for Chapter 6: GAM Theory
ch6.solutions           Solution code for Chapter 6: GAM Theory
ch7                     Code for Chapter 7: GAMs in Practice: mgcv
ch7.solutions           Solution code for Chapter 7 GAMs in Practice:
                        mgcv
chicago                 Chicago air pollution and death rate data
chl                     Chlorophyll data
co2s                    Atmospheric CO2 at South Pole
coast                   European coastline from -11 to 0 East and from
                        43 to 59 North
engine                  Engine wear versus size data
gamair-package          Data and scripts for 'Generalized Additive
                        Models: An Introduction with R'
gas                     Octane rating data
harrier                 Hen Harriers Eating Grouse
hubble                  Hubble Space Telescope Data
ipo                     Initial Public Offering Data
larynx                  Cancer of the larynx in Germany
mack                    Egg data from 1992 mackerel survey
mackp                   Prediction grid data for 1992 mackerel egg
                        model
meh                     Data from 1010 horse mackerel and mackerel egg
                        survey
mpg                     Data on automobile efficiency on town streets
                        and highway.
prostate                Prostate cancer screening data
sitka                   Sitka spruce growth data.
sole                    Sole Eggs in the Bristol Channel
sperm.comp1             Sperm competition data I
sperm.comp2             Sperm competition data II
stomata                 Stomatal area and C02
swer                    Swiss 12 hour extreme rainfall
wesdr                   Diabetic retinopathy in Wisconsin
wine                    Bordeaux Wines

gamair documentation built on Aug. 23, 2019, 5:03 p.m.