Skip to content

Commit

Permalink
Fixing help entries for accuracy.default and forecast.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
robjhyndman committed Feb 1, 2022
1 parent 839062c commit 465d278
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion R/errors.R
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ trainingaccuracy <- function(f, test, d, D) {
#' accuracy(fit2, EuStockMarkets[201:300, 1])
#' plot(fit1)
#' lines(EuStockMarkets[1:300, 1])
#' @method accuracy default
#' @export
accuracy.default <- function(object, x, test = NULL, d = NULL, D = NULL, f = NULL, ...) {
if (!is.null(f)) {
Expand Down
1 change: 0 additions & 1 deletion R/forecast.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
#' WWWusage %>% forecast %>% plot
#' fit <- ets(window(WWWusage, end=60))
#' fc <- forecast(WWWusage, model=fit)
#' @method forecast ts
#' @export
forecast.ts <- function(object, h=ifelse(frequency(object) > 1, 2 * frequency(object), 10),
level=c(80, 95), fan=FALSE, robust=FALSE, lambda = NULL, biasadj = FALSE, find.frequency = FALSE,
Expand Down

0 comments on commit 465d278

Please sign in to comment.