dlog.norm: Local Search Function

Description Usage Arguments Details Value See Also Examples

View source: R/dlog.norm.R

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)))
  }

widals documentation built on May 29, 2017, 10:11 p.m.

Search within the widals package
Search all R packages, documentation and source code