dlog.norm | R Documentation |
Local hyperparameter exponentiated-normal search function
dlog.norm(n, center, sd)
n |
Sample size. A positive scalar integer. |
center |
Exponential of the mean. A numeric scalar (or vector). |
sd |
Standard deviation. A numeric scalar (or vector). |
This function can be used by MSS.snow
.
A numeric vector of length n
.
unif.mh
, MSS.snow
, fun.load
.
x <- dlog.norm(100, 1, 1)
hist(x)
## The function is currently defined as
function (n, center, sd)
{
return(exp(rnorm(n, log(center), sd)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.