diff --git a/DESCRIPTION b/DESCRIPTION index 7b20b78..b39e2bc 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: lemon Type: Package -Title: Freshing Up your `ggplot` +Title: Freshing Up your 'ggplot2' Plots URL: https://github.com/stefanedwards/lemon BugReports: https://github.com/stefanedwards/lemon/issues Version: 0.3.0 @@ -17,8 +17,8 @@ Authors@R: c( person("Winston", "Chang", , "winston@rstudio.com", "ctb", comment='ggplot2 functions') ) -Description: Functions for working with `ggplot`'s legends and axis lines, - with some extended facets, and knitr extensions. +Description: Functions for working with legends and axis lines of 'ggplot2', + facets that repeat axis lines on all panels, and some 'knitr' extensions. Depends: R (>= 3.1.0) Imports: diff --git a/man/g_legend.Rd b/man/g_legend.Rd index 9da542a..bcd317c 100644 --- a/man/g_legend.Rd +++ b/man/g_legend.Rd @@ -63,11 +63,12 @@ grid.arrange(d + theme(legend.position='hidden'), # Above fails with more than one guide +} +\author{ +\href{http://baptiste.github.io/}{Baptiste AuguiƩ} } \seealso{ \code{\link{grid_arrange_shared_legend}}, \code{\link{reposition_legend}}, \code{\link[gtable]{gtable_filter}} } -\author{ -\href{http://baptiste.github.io/}{Baptiste AuguiƩ} -} + diff --git a/man/grid_arrange_shared_legend.Rd b/man/grid_arrange_shared_legend.Rd index 9df4ae9..daaf240 100644 --- a/man/grid_arrange_shared_legend.Rd +++ b/man/grid_arrange_shared_legend.Rd @@ -38,9 +38,6 @@ p4 <- qplot(depth, price, data = dsamp, colour = clarity) grid_arrange_shared_legend(p1, p2, p3, p4, ncol = 4, nrow = 1) grid_arrange_shared_legend(p1, p2, p3, p4, ncol = 2, nrow = 2) } -\seealso{ -\code{\link{g_legend}}, \code{\link{reposition_legend}} -} \author{ Originally brought to you by \href{http://rpubs.com/sjackman}{Shaun Jackman} (\href{http://rpubs.com/sjackman/grid_arrange_shared_legend}{original}), @@ -48,3 +45,7 @@ Originally brought to you by \href{http://rpubs.com/sjackman}{Shaun Jackman} \url{https://github.com/tidyverse/ggplot2/wiki/Share-a-legend-between-two-ggplot2-graphs}. Stefan McKinnon Edwards added left and top margins. } +\seealso{ +\code{\link{g_legend}}, \code{\link{reposition_legend}} +} + diff --git a/man/reposition_legend.Rd b/man/reposition_legend.Rd index 5807cc8..eb1587b 100644 --- a/man/reposition_legend.Rd +++ b/man/reposition_legend.Rd @@ -75,9 +75,10 @@ reposition_legend(d + theme(legend.position='bottom'), x=0.3, y=0, just=c(0, -0. # For using with facets: reposition_legend(d + facet_grid(.~cut), 'top left', panel = 'panel-3-1') } -\seealso{ -\code{\link{g_legend}}, \code{\link{grid_arrange_shared_legend}} -} \author{ Stefan McKinnon Edwards } +\seealso{ +\code{\link{g_legend}}, \code{\link{grid_arrange_shared_legend}} +} +