ssd_match_moments: Match Moments
Usage
ssd_match_moments(
  dists = c("llogis", "gamma", "lnorm"),
  meanlog = 1,
  sdlog = 1,
  nsim = 1e+05
)Arguments
dists
A character vector of the distribution names.
meanlog
A number of the mean on the log scale.
sdlog
A number of the standard deviation on the log scale.
nsim
A positive whole number of the number of simulations to generate.
Value
A named list of the parameter values that produce a distribution
with moments closest to the meanlog and sdlog.
Examples
Run this code# NOT RUN {
ssd_match_moments()
# }
Run the code above in your browser using DataLab