calculate_performance | R Documentation |
Calculate CMAM performance indicators
calculate_performance(df, vars = NULL, add = TRUE)
calculate_cured(cured, exit)
calculate_dead(dead, exit)
calculate_default(defaulter, exit)
calculate_no_response(nr, exit)
df |
A data.frame containing programme monitoring data on number of cured, deaths, defaulters and non-response. The required data.frame holds rows of data corresponding to total counts for each performance indicator (i.e., cured, dead, defaulter and non-responder) rather than rows of individual cases. |
vars |
A vector of variable names specifying cured, dead,
defaulter and non-responder (in this specific order) values in
|
add |
Logical. Should result be added to |
cured |
Numeric value for total number of cured cases |
exit |
Numeric value for total number of programme exits |
dead |
Numeric value for total number of cases who died |
defaulter |
Numeric value for total number of cases who defaulted |
nr |
Numeric value for total number of cases who did not respond to |
A tibble of performance indicator results (for
calculate_performance()
) or a numeric value of specified CMAM performance
indicator (for calculate_cured()
, calculate_default()
,
calculate_dead()
), and calculate_no_response()
.
Ernest Guevarra
calculate_performance(df = monitoring)
calculate_cured(cured = 10, exit = 50)
calculate_dead(dead = 10, exit = 50)
calculate_default(defaulter = 10, exit = 50)
calculate_no_response(nr = 10, exit = 50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.