ggplot2: Add a identity line to a scatter plot
plt_identity_line.Rd
Add a identity line to a ggplot2 scatter plot.
Examples
library(ggplot2)
plot <-
ggplot(mtcars,aes(qsec,mpg))+
geom_point()
plot
plot + plt_identity_line()
plt_identity_line.Rd
Add a identity line to a ggplot2 scatter plot.
library(ggplot2)
plot <-
ggplot(mtcars,aes(qsec,mpg))+
geom_point()
plot
plot + plt_identity_line()