This function creates simulated data based on a crazy function.
Crazy(n = 1000)
n
The number of observations to be simulated.
A data frame with response y and covariate x.
y
x
GAMart
d <- Crazy(1000) head(d) plot(d)