- coin
The coin
- dset
The name of the data set to apply the function to, which should be accessible in .$Data
.
- iCode
Code of indicator or aggregate found in dset
. Required to be of length 1.
- Level
The level in the hierarchy to extract data from. See get_data()
.
- ...
Further arguments to pass to get_data()
, other than those explicitly specified here.
- usel
A subset of units to highlight.
- marker_type
The type of marker, either "circle"
(default) or "cross"
, or a marker number to pass to ggplot2 (0-25).
- add_stat
A statistic to overlay, either "mean"
, "median"
or else a specified value.
- stat_label
An optional string to use as label at the point specified by add_stat
.
- show_ticks
Set FALSE
to remove axis ticks.
- plabel
Controls the labelling of the indicator. If NULL
(default), returns the indicator code.
Otherwise if "iName"
, returns only indicator name, if "iName+unit"
, returns
indicator name plus unit (if found), if "unit"
returns only unit (if found), otherwise if "none"
,
displays no text. Finally, any other string can be passed, so e.g. "My indicator"
will display this on the
axis.
- usel_label
If TRUE
(default) also labels selected units with their unit codes. FALSE
to disable.
- vert_adjust
Adjusts the vertical height of text labels and stat lines, which matters depending on plot size.
Takes a value between 0 to 2 (higher will probably remove the label from the axis space).