gen_smooth | R Documentation |
Generate simulated data for smoothing models
gen_smooth(n = 150, xlim = c(0.2, 4.6), x.jitter = 0.65, seed = NULL)
n |
Sample size. |
xlim |
Limits of the |
x.jitter |
A small amount of jitter is added to the |
seed |
(Optional) Random seed. |
A dataframe containing the response variable y
and
unidimensional explanatory variable X
.
gen_smooth(10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.