Description Usage Arguments Value See Also Examples

View source: R/normal.lnormal.params.R

Function to calculate the equivalent values for the mean and standard deviation of a normal distribution from the mean and standard deviation of the log-normal distribution. Outputs from this function can be used with the dnorm() function, and with the normal distribution in JAGS.

1 | ```
normal.params(log.mean, log.sd, coeff.variation=sqrt(exp(log.sd^2)-1))
``` |

`log.mean` |
either a single value or vector of values for the mean of the lognormal distribution. |

`log.sd` |
either a single value or vector of values for the standard deviation of the lognormal distribution. Ignored if values are supplied for coeff.variation. |

`coeff.variation` |
either a single value or vector of values for the coefficient of dispersion. |

A list with elements representing the mean of the normal distribution, the standard deviation of the normal distribution, and the coefficient of variation.

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

bayescount documentation built on May 29, 2017, 5:01 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.