R – ggplot’s qplot executed but no graph showing up on sourcing

R – ggplot’s qplot executed but no graph showing up on sourcing

need to Call print explicitly

#code snippet
p <-ggplot(df, aes(x = dt, y = y)) + geom_point() + geom_point(data = ds, aes(y = mean), colour = 'red', size = 3) print(p)

Leave a Reply

Your email address will not be published. Required fields are marked *