Local Search Function

Share:

Description

Local hyperparameter exponentiated-normal search function

Usage

1
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

unif.mh, MSS.snow, fun.load.

Examples

1
2
3
4
5
6
7
8
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)))
  }