dlog.norm {widals} | R Documentation |
Local Search Function
Description
Local hyperparameter exponentiated-normal search function
Usage
dlog.norm(n, center, sd)
Arguments
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). |
Details
This function can be used by MSS.snow
.
Value
A numeric vector of length n
.
See Also
Examples
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)))
}
[Package widals version 0.6.1 Index]