Skip to content

Commit

Permalink
Fixed printing of call in ets()
Browse files Browse the repository at this point in the history
  • Loading branch information
robjhyndman committed Apr 17, 2024
1 parent e565f31 commit 1f537eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ets.R
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ lik <- function(par, y, nstate, errortype, trendtype, seasontype, damped, par.no
print.ets <- function(x, ...) {
cat(paste(x$method, "\n\n"))
if(!is.null(x$call)) {
cat(paste("Call:\n", deparse(x$call), "\n\n"))
cat("Call:", deparse(x$call), "", sep = "\n")
}
ncoef <- length(x$initstate)
if (!is.null(x$lambda)) {
Expand Down

0 comments on commit 1f537eb

Please sign in to comment.