Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/VFCI/fevdid
Browse files Browse the repository at this point in the history
  • Loading branch information
matdehaven committed Nov 14, 2023
2 parents 4d3e8a4 + b72b037 commit f7e9e4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/fev.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
#' @return forecast error variance
#'
#' @export
#'
#'
#' @examples
#' x <- svars::USA
#' v <- vars::VAR(x, p = 2)
#' mvar <- id_fevdtd(v, "pi", 4:10)
#' fev(mvar)
#'
#'
fev <- function(var, n_ahead = 20) {
n <- colnames(var$y)
k <- length(n)
Expand Down

0 comments on commit f7e9e4c

Please sign in to comment.