Multiply an observation by exp(sigma) with optional bias adjustment of -sigma^2/2.
1 | addLognormalError(obs, sigma, biasadjustflag = FALSE, randomval = NULL)
|
obs |
a numer or vector of starting value(s) |
sigma |
lognormal standard deviation to apply, can be single value or vector of same length as obs |
biasadjustflag |
TRUE means to apply bias adjustment, default = FALSE |
randomval |
number of vector of predetermined random values to use, default = NULL |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.