Plot alignment scatterplot
Source:R/plot_scatter_alignment_exposure.R
plot_scatter_alignment_exposure.RdPlot alignment scatterplot
Arguments
- data
data.frame. Should have the same format as output of
prep_scatter()and contain columns:'name','buildout','phaseout','net', and any column implied bygroup_var.- floor_outliers
Numeric. Floor which should be applied to the alignment values in the data. Values smaller than floor are plotted on the border of the plot.
- cap_outliers
Numeric. Cap which should be applied to the alignment values in the data. Values bigger than cap are plotted on the border of the plot.
- group_var
Character. Character specifying the variable that contains the groups by which to analyse the loan books.
- currency
Character. Currency to display in the plot labels.