I have created a plot using the following code:
ggplot(Data, aes(x=damMean, y=progenyMean)) +
geom_point()
I want to overlay on the plot a regression line of the form: y = 69.88 + 5.58*x
I tried to do so by adding the following:
ggplot(Data, aes(x=damMean, y=progenyMean)) +
geom_point() +
geom_smooth(method = "lm", formula = y~69.88+5.58*x)
But this doesn't add a line to the plot.
Is this possible to do using ggplot?


+ geom_abline(slope=5.58, intercept=69.88)