This function creates simulated data based on a crazy function.

Crazy(n = 1000)

Arguments

n The number of observations to be simulated.

Value

A data frame with response y and covariate x.

GAMart
d <- Crazy(1000)
#> 6 -0.2016390 -1.4010222 -1.4050039plot(d)