powered by
This function creates artificial GAM-type data.frames. The function is mainly used for testing purposes.
data.frame
GAMart(n = 500, sd = 0.1, seed = FALSE, ti = c("none", "vcm", "main", "both"))
The number of observations.
Standard deviation of the normal errors.
Sets the seed to 111.
seed
111
For tensor product interaction term, the type of interaction.
d <- GAMart() head(d) if (FALSE) b <- bamlss(num ~ s(x1) + s(x2) + s(x3) + te(lon,lat), data = d) plot(b)
Run the code above in your browser using DataLab