Learn R Programming

gam (version 0.9)

gam.data: Simulated dataset for gam

Description

A simple simulated dataset, used to test out the gam functions

Usage

data(gam.data)
data(gam.newdata)

Arguments

Details

This dataset is artificial, and is used to test out some of the features of gam.

Examples

Run this code
data(gam.data)
gam(y ~ s(x) + z, data=gam.data)

Run the code above in your browser using DataLab