I have the following graph of the exponential distribution, I want to put a caption showing the parameter of my exponential.
ggplot(data.frame(x=c(0,5)),aes(x))+
stat_function(fun=dexp,colour='red',size=1.4)+
stat_function(fun=dexp,args=list(rate=.5),colour='deepskyblue1',size=1.4)+
stat_function(fun=dexp,args=list(rate=.75),colour='goldenrod2',size=1.4)