Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: could not find function "parse_model_rhs" #63

Open
mathias-314 opened this issue Mar 12, 2023 · 0 comments
Open

Error: could not find function "parse_model_rhs" #63

mathias-314 opened this issue Mar 12, 2023 · 0 comments

Comments

@mathias-314
Copy link

mathias-314 commented Mar 12, 2023

Brief description of the problem

Hi,

thank you for your great work in supporting and optimizing in time series analytics. I would like to study your package fasster with a code snippet from README.md and get the above mentioned error, when I run the following reprex.

I would be very happy, if you can help me to find the solution for this
regards
Mathias


library(fasster)
library(tidyverse)
library(lubridate)
library(tsibble)
library(fable)
library(fabletools)

elec_tr <- tsibbledata::vic_elec %>%
filter(
Time < lubridate::ymd("2012-03-01")
) %>%
mutate(WorkDay = wday(Time) %in% 2:6 & !Holiday)

elec_fit <- elec_tr %>%
model(
fasster = FASSTER(log(Demand) ~
WorkDay %S% (fourier(48, 16) + trend(1)) + Temperature + I(Temperature^2)
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant