Kaboom_break | R Documentation |
Kaboom for break plot. Raw function: https://karobben.github.io/2020/06/11/Blog/ggplot_split/
data(cars) cars[1,2] =100000 p <- ggplot(cars,aes(x=speed,y=dist)) + geom_bar(stat='identity') # For tow break Kaboom_break(p, c(0, 400, 10000, 120000), R=c(4, 1)) # For Three break Kaboom_break(p, c(0, 10, 30, 400, 10000, 120000), R=c(1,4, 1))
data |
Data frame |
Kaboom_break(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.