GetNotificationQuarterDensityPlot: GetNotificationQuarterDensityPlot

Description Usage Arguments Value Examples

View source: R/GetNotificationQuarterDensityPlot.R

Description

Get density plot of notification quarter

Usage

1
2
3
4
5
6
7
8
GetNotificationQuarterDensityPlot(
  plotData,
  colorPalette = c("#69b023", "#7bbcc0", "#9d8b56", "#ce80ce"),
  genderLabels = c(M = "Male", F = "Female", O = "Other"),
  xLimits = NULL,
  markerLocations = NULL,
  plotly = TRUE
)

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.

plotly

Logical indicating to produce interactive, plotly-based, version of the chart. Default = TRUE

Value

ggplot2 object

Examples

1
2
3
4
## Not run: 
GetNotificationQuarterDensityPlot(plotData)

## End(Not run)

nextpagesoft/hivEstimatesAccuracyReloaded documentation built on March 14, 2020, 7:06 a.m.