In the creation of a data frame from a simulated system, this adds Gaussian error to the variables of a table and rescales them to between 0 and 1.
1 | add_gauss_error(.data, vars, noise)
|
.data |
a data frame |
vars |
names or indices of the data.frame to add the error. |
noise |
the desired amount of standard error in the noise to add to the variables. Note that after noise is added the var is rescaled to 0 and 1. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.