Samples from a univariate Normal or Lognormal distribution with parameters valid in the original units.
Just invokes a parameter transformation and calls `rnorm`

as users often prefer to specify uncertainty in their original units rather than on the log scale as it is done in `rlnorm`

.

1 |

`mean` |
Mean of the random variable. |

`sd` |
Standard deviation of the random variable. |

`log` |
Indicator whether the log of the variable should be normally distributed (log=TRUE) rather than the variable itself. (Note: mean and sd are interpreted in original units also for log=TRUE.) |

`n` |
Sample size. |

Peter Reichert <peter.reichert@eawag.ch>

`rnorm`

,
`rlnorm`

,
`randou`

.

1 2 3 4 5 6 7 8 9 10 11 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.