Skip to content

Commit

Permalink
rebuilding docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dgkf committed Jun 29, 2022
1 parent a97d275 commit 52ddfd5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
22 changes: 11 additions & 11 deletions R/ggpackets.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
#' # Prep a tidy data.frame to plot with
#' airquality_long <- rbind(
#' data.frame(
#' airquality[,c("Month", "Day")],
#' Variable = "Temp",
#' airquality[,c("Month", "Day")],
#' Variable = "Temp",
#' Measurement = airquality$Temp),
#' data.frame(
#' airquality[,c("Month", "Day")],
#' airquality[,c("Month", "Day")],
#' Variable = "Ozone",
#' Measurement = airquality$Ozone))
#'
#'
#' # Build our new composite ggplot geom
#' geom_error_line <- ggpacket() %+%
#' geom_ribbon(
Expand All @@ -25,21 +25,21 @@
#' fun = mean,
#' fun.min = ~mean(.) - sd(.),
#' fun.max = ~mean(.) + sd(.),
#' alpha = 0.15,
#' alpha = 0.15,
#' color = NA) %+%
#' geom_line(
#' .id = "line",
#' stat = 'summary',
#' fun = mean,
#' alpha = 0.8)
#'
#'
#' # Try it out!
#' ggplot(airquality_long) +
#' aes(x = round((Month * 30 + Day) / 4), y = Measurement, color = Variable) +
#' geom_error_line(na.rm = TRUE, line.size = 1.5) +
#' scale_y_log10() +
#' ggplot(airquality_long) +
#' aes(x = round((Month * 30 + Day) / 4), y = Measurement, color = Variable) +
#' geom_error_line(na.rm = TRUE, line.size = 1.5) +
#' scale_y_log10() +
#' labs(x = "Week")
#'
#'
#' # for further examples, check out the vignettes
#' vignette(package = "ggpackets")
#'
Expand Down
18 changes: 9 additions & 9 deletions man/ggpackets-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 52ddfd5

Please sign in to comment.