powered by
This function creates simulated data based on a crazy function.
Crazy(n = 1000)
A data frame with response y and covariate x.
y
x
The number of observations to be simulated.
GAMart
d <- Crazy(1000) head(d) plot(d)
Run the code above in your browser using DataLab