addLognormalError: Add lognormal error

Description Usage Arguments

Description

Multiply an observation by exp(sigma) with optional bias adjustment of -sigma^2/2.

Usage

1
addLognormalError(obs, sigma, biasadjustflag = FALSE, randomval = NULL)

Arguments

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


cmlegault/WKFORBIAS documentation built on May 30, 2019, 2:08 p.m.