GetNotificationQuarterDensityPlot {hivPlatform}R Documentation

GetNotificationQuarterDensityPlot

Description

Get density plot of notification quarter

Usage

GetNotificationQuarterDensityPlot(
  plotData,
  colorPalette = c("#69b023", "#7bbcc0", "#9d8b56", "#ce80ce"),
  genderLabels = c(M = "Male", F = "Female", O = "Other"),
  xLimits = NULL,
  markerLocations = NULL
)

Arguments

plotData

Data table object. Required.

colorPalette

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

genderLabels

Named vector of mapping from Gender code to label. Optional. Default = c("M" = "Male", "F" = "Female", "O" = "Other")

xLimits

Vector of two numbers (years), lower and upper limit for the x axis. Optional. Default = NULL.

markerLocations

Vector of numbers (years) for positions of vertical dashed lines. Optional. Default = NULL.

Value

ggplot2 object

Examples

## Not run: 
GetNotificationQuarterDensityPlot(plotData)

## End(Not run)


[Package hivPlatform version 2.0.5 Index]