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)

Try the rtrend package in your browser

Any scripts or data that you put into this service are public.

rtrend documentation built on June 22, 2024, 11:39 a.m.