powered by
Returns the coefficients from the model in a tibble format.
tibble
# S3 method for VAR tidy(x, ...)
The model's coefficients in a tibble.
An object to be converted into a tidy tibble::tibble().
tibble::tibble()
Additional arguments to tidying method.
lung_deaths <- cbind(mdeaths, fdeaths) %>% as_tsibble(pivot_longer = FALSE) lung_deaths %>% model(VAR(vars(mdeaths, fdeaths) ~ AR(3))) %>% tidy()
Run the code above in your browser using DataLab