GAMart

0th

Percentile

GAM Artificial Data Set

This function creates artificial GAM-type data.frames. The function is mainly used for testing purposes.

Keywords
datasets
Usage
GAMart(n = 500, sd = 0.1, seed = FALSE,
  ti = c("none", "vcm", "main", "both"))
Arguments
n

The number of observations.

sd

Standard deviation of the normal errors.

seed

Sets the seed to 111.

ti

For tensor product interaction term, the type of interaction.

Aliases
  • GAMart
Examples
# NOT RUN {
d <- GAMart()
head(d)

# }
# NOT RUN {
b <- bamlss(num ~ s(x1) + s(x2) + s(x3) + te(lon,lat), data = d)
plot(b)
# }
Documentation reproduced from package bamlss, version 1.1-2, License: GPL-2 | GPL-3

Community examples

Looks like there are no examples yet.