Skip to content

Commit 7d40ef8

Browse files
committed
missing x documented
1 parent d8592e0 commit 7d40ef8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

R/autoplot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ggplot2::autoplot
1313
#'
1414
#'
1515
#' @inheritParams epiprocess::autoplot.epi_df
16-
#' @param object An `epi_workflow`
16+
#' @param object,x An `epi_workflow`
1717
#' @param predictions A data frame with predictions. If `NULL`, only the
1818
#' original data is shown.
1919
#' @param .levels A numeric vector of levels to plot for any prediction bands.

R/step_climate.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ prep.step_climate <- function(x, training, info = NULL, ...) {
266266

267267
fn <- switch(x$center_method,
268268
mean = function(x, w) stats::weighted.mean(x, w, na.rm = TRUE),
269-
median = function(x, w) median(x, na.rm = TRUE)
269+
median = function(x, w) stats::median(x, na.rm = TRUE)
270270
)
271271
# suppose it's week 52, and there is no week 53 this year; then
272272
# as originally written for 1 week ahead this grabs from week 52+1 %% 53

man/autoplot-epipred.Rd

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

0 commit comments

Comments
 (0)