View source: R/overall_df_plots.R
make_overall_plot | R Documentation |
A function to make the overrall plot for dashboards with the make_overall_plot_df
output.
make_overall_plot(
overall_plot_df,
target = 0.75,
target_text = "WHO\nminimum target",
theme_object = NA,
y_axis_label_reach = "Programme Reach & 95% CI (in %)\n",
y_axis_label_coverage = "Survey Coverage & 95% CI (in %)\n",
x_axis_label = "\nImplementation Unit",
survey_point_shape = 16,
survey_point_size = 4,
reported_point_shape = 42,
reported_point_size = 9,
reported_text = "Reported coverage"
)
overall_plot_df |
Output from the |
target |
A numeric value between 0 and 1 to set the WHO target coverage. Default is 0.75. |
target_text |
A string denoting the text that describes the target. Default is |
theme_object |
A ggplot theme object (e.g. theme_classic()) for the plots. Defaults is NA.
In that case, the function calls |
y_axis_label_reach |
Y axis label for programme reach. Default is |
y_axis_label_coverage |
Y axis label for survey coverage. Default is |
x_axis_label |
X axis label denoting the partitions. Default is |
survey_point_shape |
Shape of the survey data point. Default is a filled dot (16). |
survey_point_size |
Size of the survey data point. Default is 4. |
reported_point_shape |
Shape of the reported coverage data point. Default is a 5 arms star (42). |
reported_point_size |
Size of the reported coverage data point. Default is 9. |
reported_text |
String describing the dots for reported coverage. Default is English: |
A list of plots. Run names(make_overall_plot output) to see them. Call them individually by using
{make_overall_plot output}[[{name of the particular plot}]]
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.