rgamma_with_mean_sd: Mean and standard deviation parameterised gamma sampling...

Description Usage Arguments Value Examples

View source: R/rgamma_with_mean_sd.R

Description

Mean and standard deviation parameterised gamma sampling function

Usage

1

Arguments

n

Numeric, the number of samples to take.

mean

Numeric, the mean of the distribution.

sd

Numeric the standard deviation of the distribution.

Value

A vector of samples from the gamma distribution

Examples

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

epiforecasts/NCoVUtils documentation built on June 26, 2020, 1:20 a.m.