powered by
A simple simulated dataset, used to test out the gam functions
A data frame with 100 observations on the following 6 variables:
a numeric vector - predictor
a numeric vector - the response
a numeric vector - noise predictor
a numeric vector - true function
a numeric vector - probability function
a numeric vector - binary response
This dataset is artificial, and is used to test out some of the features of gam.
data(gam.data) gam(y ~ s(x) + z, data=gam.data)
Run the code above in your browser using DataLab