R: how to plot density plots with ggplot2 -
> dput(data) structure(list(vascular_pathology_m = structure(c(1l, 2l, 3l, 1l, 1l, 2l, 4l, 3l, 1l, 2l, 3l, 2l, 1l, 3l, 2l, 3l, 3l, 3l, 4l, 2l, 2l, 2l, 2l, 2l, 3l, 2l, 1l, 3l, 3l, 3l), .label = c("absent", "mild", "mild/moderate", "moderate/severe", "severe"), class = "factor"), output = c(1.01789418758932, 1.05627630598801, 1.49233946102323, 1.38192374975672, 1.13097652937671, 0.861306979571144, 0.707820561413699, 1.16628243128399, 0.983163398006992, 1.23972603843843, 0.822709564829401, 0.90516107062003, 0.79080293468606, 0.886130998081624, 1.2674953773847, 0.984695292355941, 1.1781360057546, 0.858847379047159, 0.772681010534905, 1.04401349705871, 0.998339856427367, 1.12106301647898, 0.835132782324955, 0.710123766831317, 1.01005735218463, 1.05588470743658, 0.913371462992548, 1.10995126470399, 1.18574975368509, 1.17712141366123)), .names = c("vascular_pathology_m", &q