Description Usage Arguments Details Value Author(s)
Creates plots of HIV prevalence, HIV testing coverage and, the primary data quality indicators over time
1 2 | descriptive_plot(data, ylim_ind = NULL, ylim_cov = NULL,
ylim_prv = NULL, plot_type = "full")
|
data |
The ANC-RT dataset. The functions check_data and data_clean should have been run on the data to properly prepare the data for use here. The dataset must include the following variables:
|
ylim_ind |
The y-axis lower and upper limits of the plot of the primary data quality indicators over time (if left blank, ggplot() defaults are used) |
ylim_cov |
The y-axis lower and upper limits of the plot of HIV testing coverage over time (if left blank, ggplot() defaults are used) |
ylim_prv |
The y-axis lower and upper limits of the plot of HIV prevalence over time (if left blank, ggplot() defaults are used) |
plot_type |
The plots included in the final plot. Options include:
|
This function has been developed to create three plots:
The two primary data quality indicators over time. The two primary data quality indicators include: 1) The percent of observations with missing data for n_clients
,
n_status_c
or totpos_c
(in the cleaned data); and, 2) The percent of observations with invalid values for n_clients
, n_status
,
testpos
or knownpos
(in the raw data).
HIV testing coverage over time. For comparison purposes, HIV testing coverage is calculated using the raw and cleaned data and also using the three adjustment options for multiple testing (1. Using the impute option; 2. Using the remove option; and, 3. Using the set to maximum option).
HIV prevalence over time. For comparison purposes, HIV prevalence is calculated using the raw and cleaned data and also using the three adjustment options for multiple testing (1. Using the impute option; 2. Using the remove option; and, 3. Using the set to maximum option).
Plot(s) showing the desired descriptive data comparing the raw data, the cleaned data and the three different adjustment options for multiple testing.
Mathieu Maheu-Giroux
Brittany Blouin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.