Skip to content

Commit 59bc2a0

Browse files
Thomas KnechtThomasKnecht
Thomas Knecht
authored andcommitted
Add position-nudgestack.R into man
1 parent 71d567b commit 59bc2a0

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

R/position-nudgestack.R

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
#' This is useful if you're rotating both the plot and legend.
1414
#' @export
1515
#' @examples
16-
<<<<<<< HEAD
17-
=======
18-
#' library(dplyr)
19-
#' library(ggplot2)
20-
>>>>>>> Add time series example
2116
#' ESM <- data.frame(
2217
#' as.matrix(EuStockMarkets),
2318
#' date = as.Date(paste(1, zoo::as.yearmon(time(EuStockMarkets))),
@@ -28,12 +23,7 @@
2823
#' ESM_prep <- ESM %>%
2924
#' tidyr::gather(key = key, value = value, -date) %>%
3025
#' group_by(date, key) %>%
31-
#' summarize(value = mean(value)) %>%
32-
<<<<<<< HEAD
3326
#' filter(date >= "1995-01-01" & date < "1998-01-01")
34-
=======
35-
#' filter(date >= "1995-01-01" & date <= "1997-12-01")
36-
>>>>>>> Add time series example
3727
#'
3828
#' ggplot(data = ESM_prep, mapping = aes(x = date, y = value, fill = key)) +
3929
#' geom_col(position = position_nudgestack(x = 15))

man/position_nudgestack.Rd

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)