R/examples/ex-stat_mk.R

library(ggplot2)

ggplot(mpg, aes(displ, hwy, colour = drv)) + 
    geom_point() + 
    stat_mk(size = 1) + 
    geom_smooth(method = "lm", se = FALSE, linetype = 2)
rpkgs/rtrend documentation built on Jan. 30, 2024, 10:38 a.m.