diff --git a/R/plot_layout.R b/R/plot_layout.R index 09ba272..655f3d2 100644 --- a/R/plot_layout.R +++ b/R/plot_layout.R @@ -52,7 +52,7 @@ #' p4 <- ggplot(mtcars) + geom_bar(aes(carb)) #' p5 <- ggplot(mtcars) + geom_violin(aes(cyl, mpg, group = cyl)) #' -#' # The plots are layed out automatically by default +#' # The plots are laid out automatically by default #' p1 + p2 + p3 + p4 + p5 #' #' # Use byrow to change how the grid is filled out diff --git a/_pkgdown.yml b/_pkgdown.yml index 49b744f..19f792a 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -32,9 +32,9 @@ reference: - title: Plot Composition desc: > At the heart of patchwork lies a range of powerful functions for combining - plots into an assembly of plots that can be layed out in a grid. Patchwork + plots into an assembly of plots that can be laid out in a grid. Patchwork provides both an extension of ggplot2's `+` based API, along with a - functinal interface. + functional interface. contents: - /.ggplot - wrap_plots @@ -53,7 +53,7 @@ reference: - area - title: Alternative plot objects desc: > - patchwork is build to work with ggplot2 but standard grobs can also be + patchwork is built to work with ggplot2 but standard grobs can also be included. Further, it is possible to define empty areas if needed. contents: - wrap_elements diff --git a/man/plot_layout.Rd b/man/plot_layout.Rd index 1aa45ca..530645a 100644 --- a/man/plot_layout.Rd +++ b/man/plot_layout.Rd @@ -77,7 +77,7 @@ p3 <- ggplot(mtcars) + geom_bar(aes(gear)) + facet_wrap(~cyl) p4 <- ggplot(mtcars) + geom_bar(aes(carb)) p5 <- ggplot(mtcars) + geom_violin(aes(cyl, mpg, group = cyl)) -# The plots are layed out automatically by default +# The plots are laid out automatically by default p1 + p2 + p3 + p4 + p5 # Use byrow to change how the grid is filled out