getShapePalettePatientProfile {patientProfilesVis} | R Documentation |
Get a shape palette for patient profile visualizations.
Description
This is a simple wrapper around getShapePalette, with different defaults:
inclusion of missing values by default (
includeNA
set toTRUE
)the extraction of shapes as text by default (
asText
set toTRUE
)
Usage
getShapePalettePatientProfile(..., includeNA = TRUE, asText = TRUE)
Arguments
... |
Arguments passed on to
|
includeNA |
Logical (TRUE by default),
should NA elements be retained in the palette in case
|
asText |
Logical (TRUE by default), should the palette be expressed as integer (base R plot and ggplot2 compatible) or in text format (e.g. required if combined with unicode symbols in ggplot2)? |
Value
Vector of shapes,
named with the elements in x
if x
is specified.
Author(s)
Laure Cougnaud