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)
kongdd/rtrend documentation built on Jan. 29, 2024, 11:48 p.m.