.get_delay_matrix_column | R Documentation |
Build a specific column of the delay distribution matrix
.get_delay_matrix_column(
recent_counts_distribution,
fit = "none",
col_number,
N,
return_fitted_distribution = FALSE
)
recent_counts_distribution |
numeric vector of report delays, as used in |
fit |
string. Can be either "none" or "gamma". Specifies the type of fitting applied to the computed column |
col_number |
positive integer. The index the computed column has in the delay matrix |
N |
positive integer. Size of delay matrix. |
return_fitted_distribution |
boolean. If TRUE, the function also returns the gamma distribution that was fitted to the respective column. |
If return_fitted_distribution = FALSE
,
returns the col_number
th column of the delay matrix, based on the vector of report delays given.
If return_fitted_distribution = TRUE
, it returns a list with two elements:
column
- delay matrix column as described above,
and distribution
- the delay distribution that was fitted to the column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.