R: GAM Artificial Data Set

GAMart {bamlss} | R Documentation

## GAM Artificial Data Set

### Description

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

### 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.

### Examples

    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)

[Package bamlss version 1.1-6 Index]