Hi guys,
I need your help in creating graphs with ggplot in R Studio! In the histogram I added in the attachment, I would like to add a vertical line exactly at the value 0.8 for in-sample and 0.7 for out-of-sample with the label "S&P500".
My current code looks like this: {r} ggplot(data=data) + geom_histogram(binwidth=0.10, aes(x=sahrpe_ratio, fill=Strategie), colour="Black") + facet_grid(.~Sample)