README.md

ggfloatbar

Instalation

Install the latest version of this package from Github by pasting in the following.

devtools::install_github("abikoushi/ggfloatbar")

Gallery

library(ggfloatbar)
ggplot(sleep, aes(x=ID, y=extra, colour=group))+
  geom_float()

Example 1

ggplot(sleep, aes(x=ID, y=extra, colour=group))+
  geom_floatbar(alpha=0.5)+
  geom_float()

Example 2

ggplot(sleep, aes(x=ID, y=extra, colour=group, fill=group))+
  geom_floatbar(alpha=0.5)+
  geom_float()

Example 3

ggplot(Orange,aes(x = age, y = circumference)) +
  geom_floatbar(aes(fill = Tree), alpha=0.8)+
  geom_line(aes(color = Tree))

Example 4



abikoushi/ggfloatbar documentation built on Feb. 9, 2024, 8:12 p.m.