2017-07-22 1 views

Répondre

0

Comme ça?

ggplot(mtcars, aes(x=mpg, fill="red")) + geom_histogram(bins = 30) + 
geom_vline(aes(xintercept=mean(mpg)),color="blue", linetype="dashed", 
size=1) +theme(legend.position="top") + 
annotate("text", x = 30, y = 4, label = Sys.time()) 
+0

Merci beaucoup, c'était très utile – DataScience2017

+0

Pas de problème mon ami – Odysseus210