Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

plotting mean in density plot ggplot2

# Add a vertical line argument: 
geom_vline(aes(xintercept=mean(weight)),
            color="blue", linetype="dashed", size=1)
 
PREVIOUS NEXT
Tagged: #plotting #density #plot
ADD COMMENT
Topic
Name
6+8 =