Answers for "plotting mean in density plot ggplot2"

0

plotting mean in density plot ggplot2

# Add a vertical line argument: 
geom_vline(aes(xintercept=mean(weight)),
            color="blue", linetype="dashed", size=1)
Posted by: Guest on February-27-2021

Browse Popular Code Answers by Language