GetDiagnosisYearDensityPlot {hivPlatform} | R Documentation |
Get density plot of diagnosis year
GetDiagnosisYearDensityPlot( plotData, colorPalette = c("#69b023", "#7bbcc0", "#9d8b56", "#ce80ce"), genderLabels = c(M = "Male", F = "Female", O = "Other"), xLimits = NULL, markerLocations = NULL )
plotData |
Data table object. Required. |
colorPalette |
Character vector of colors for plotted
series. Optional. Default = |
genderLabels |
Named vector of mapping from Gender code to label.
Optional. Default = |
xLimits |
Vector of two numbers (years), lower and upper limit for the
x axis. Optional. Default = |
markerLocations |
Vector of numbers (years) for positions of vertical
dashed lines. Optional. Default = |
ggplot2 object
## Not run: GetDiagnosisYearDensityPlot(plotData) ## End(Not run)