Description Usage Arguments Value Examples
Function to simulate from quadratic curve
1 |
n |
sample size |
b0 |
intercept of curve |
b1 |
first order poly term |
b2 |
second order poly term |
sd |
standard deviation for random noise around curve |
range |
range of x values over which to generate data |
dataframe of simulated x,y pairs
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.