Skip to content

Commit

Permalink
Merge pull request #158 from jjchern/patch-1
Browse files Browse the repository at this point in the history
Update graphics.R
  • Loading branch information
mitchelloharawild authored Sep 16, 2024
2 parents dff8e66 + 4a8f099 commit 54025df
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion R/graphics.R
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,14 @@ guess_plot_var <- function(x, y){
#' @param data A tidy time series object (tsibble)
#' @param y The variable to plot (a bare expression). If NULL, it will
#' automatically selected from the data.
#' @param period The seasonal period to display.
#' @param period The seasonal period to display. If NULL (default),
#' the largest frequency in the data is used. If numeric, it represents
#' the frequency times the interval between observations. If a string
#' (e.g., "1y" for 1 year, "3m" for 3 months, "1d" for 1 day,
#' "1h" for 1 hour, "1min" for 1 minute, "1s" for 1 second),
#' it's converted to a Period class object from the lubridate package.
#' Note that the data must have at least one observation per seasonal period,
#' and the period cannot be smaller than the observation interval.
#' @param facet_period A secondary seasonal period to facet by
#' (typically smaller than period).
#' @param max_col The maximum number of colours to display on the plot. If the
Expand Down

0 comments on commit 54025df

Please sign in to comment.