GetRDPlots {hivEstimatesAccuracy}R Documentation

GetRDPlots

Description

Get plots for reporting delay adjustment artifacts.

Usage

GetRDPlots(stratum = NULL, plotData, isOriginalData = TRUE,
  colorPalette = c(Bounds = "#c7c7c7", `Estimated total` = "#69b023",
  Reported = "#7bbcc0", Imputed = "#9d8b56"))

Arguments

stratum

String denoting for which value of Stratum column in plotData to make plots. If not specifed, then plots are created for total. Optional. Default = NULL.

plotData

Data table object. Required.

isOriginalData

Logical indicating that plotData is based on data before any other adjustment. Optional. Default = TRUE.

colorPalette

Character vector of length 4 with colors for plotted series. Optional. Default = c("#c7c7c7", "#69b023", "#7bbcc0", "#9d8b56", "#ce80ce").

Value

Data table object

Examples

## Not run: 
GetRDPlots(stratum, plotData, isOriginalData, colorPalette)

## End(Not run)


[Package hivEstimatesAccuracy version 1.0.1 Index]