Internal helper function to create a dataset for ggplot2
that can
be used to highlight specific diagonals in a density matrix.
create_highlightDiagonalData(dat, highlight_diagonals)
Dataset with columns period
and age
and the
main variable specified through argument y_var
.
Optional internal parameter which is only
specified when plot_density
is called from within
plot_densityMatrix
. See plot_densityMatrix
for details.