ddediu / AdhereR

Computation of adherence to medications from Electronic Healthcare Data in R
26 stars 6 forks source link

Plotting: don't show the vertical axis (collapse everything on the same line) #115

Closed ddediu closed 4 years ago

ddediu commented 4 years ago

Try to see how not plotting different prescriptions at different vertical positions looks like -- the idea is to plot all prescriptions on the same line to emphasize the gaps (maybe also hide the continuation lines?)

ddediu commented 4 years ago

Done, but is is ugly and not very informative if there are overlaps between events. Nevertheless, could be potentially useful so it can be turned on by setting plot.events.vertically.displaced=TRUE in plotting....