Description Usage Arguments Value
View source: R/02_hospital_model_functions.R
get_gamma_params
get parameters for gamma distribution based on mean
rates of exiting and standard deviation of time to exiting over time
1 | get_gamma_params(m_r_exit, m_sigma_exit, gamma_times)
|
m_r_exit |
Matrix or vector with mean rates of exiting by age groups over time (matrix) or for a given day (vector). |
m_sigma_exit |
Matrix or vector with standard deviations of time to exiting by age groups over time (matrix) or for a given day (vector). |
gamma_times |
Number of times for which time-varying gamma parameters should be produced. |
List with time-specific shape and rate parameters for the gamma distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.