- Notifications
You must be signed in to change notification settings - Fork1
Create tibbles and lists of ggplot figures that can be modified as easily as regular ggplot figures
License
NotificationsYou must be signed in to change notification settings
humanpred/ggtibble
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
The goal ofggtibble is to allow creation of similarly-formatted figures aslists of ggplots (gglist) and tibbles of those lists with captions. These areaugmented withknit_print() methods enabling simple inclusion in reports.
You can install the development version ofggtibble fromGitHub with:
# install.packages("devtools")devtools::install_github("humanpred/ggtibble")
This is a basic example which shows you how to solve a common problem:
library(ggtibble)d_plot<-data.frame(A= rep(c("foo","bar"),each=4),B=1:8,C=11:18,Bunit="mg",Cunit="km" )all_plots<- ggtibble(d_plot,ggplot2::aes(x=B,y=C),outercols= c("A","Bunit","Cunit"),caption="All the {A}",labs=list(x="B ({Bunit})",y="C ({Cunit})") )+ggplot2::geom_point()+ggplot2::geom_line()knit_print(all_plots)
About
Create tibbles and lists of ggplot figures that can be modified as easily as regular ggplot figures
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.