From 663643d65a35ead65830ed04706b6f0124bb188e Mon Sep 17 00:00:00 2001 From: Rob Hyndman Date: Fri, 1 Dec 2023 11:47:26 +1100 Subject: [PATCH] Removed dependency on fable --- R/00_specials.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/R/00_specials.R b/R/00_specials.R index 34c9aaa..fbb6db6 100644 --- a/R/00_specials.R +++ b/R/00_specials.R @@ -173,10 +173,10 @@ common_xregs <- list( } origin <- self$origin } - as.matrix(fable:::trend(self$data, knots, origin)) + as.matrix(fable.binary:::trend(self$data, knots, origin)) }, season = function(period = NULL) { - as_model_matrix(fable:::season(self$data, period)) + as_model_matrix(fable.binary:::season(self$data, period)) }, fourier = function(period = NULL, K, origin = NULL) { if (is.null(origin)) { @@ -185,7 +185,7 @@ common_xregs <- list( } origin <- self$origin } - as.matrix(fable:::fourier(self$data, period, K, origin)) + as.matrix(fable.binary:::fourier(self$data, period, K, origin)) } )