Description Usage Arguments Value
This function generates the response variable using true model assumed.
1 2 3 4 5 6 7 8 9 10 11 |
data |
MC data set generated by |
fit |
True model function with |
rand |
Random sample generator function for error term. By default, rnorm |
mcname |
column name of the MC sample. By default, |
xname |
column name of the data. By default, |
yname |
column name of the response. By default, |
fitname |
column name of the true fit. By default, |
fit_col |
Add the true function value column? |
... |
additional arguments for |
Add two columns named fx
, a true function value and y
, error added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.