Simulate observations from a lognormal distribution #' A wrapper function around `rlnorm` that generates a single random observation from a lognormal distribution centered on a predicted value (`pred`) and given a level of error (`cv`).

simulate_lognormal_obs(pred, cv)

Arguments

pred

the predicted value of an observation

cv

the real-space coefficient of variation about the predicted observation value

Examples

if (FALSE) {
simulate_lognormal_obs(10, 0.20)
}