GAM Artificial Data Set
This function creates artificial GAM-type data.frame
s.
The function is mainly used for testing purposes.
GAMart(n = 500, sd = 0.1, seed = FALSE, ti = c("none", "vcm", "main", "both"))
n |
The number of observations. |
sd |
Standard deviation of the normal errors. |
seed |
Sets the |
ti |
For tensor product interaction term, the type of interaction. |
d <- GAMart() head(d) ## Not run: b <- bamlss(num ~ s(x1) + s(x2) + s(x3) + te(lon,lat), data = d) plot(b) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.