Skip to content

Commit

Permalink
Update plot.R
Browse files Browse the repository at this point in the history
  • Loading branch information
donotdespair committed Oct 2, 2024
1 parent b2d44ad commit 98053d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,14 @@ plot.PosteriorFEVDPANEL = function(
cols = fc(N)
}


if (is.numeric(which_c)) {
c_name = names(x)[which_c]
} else if (is.character(which_c)) {
c_name = which_c
}

if ( missing(main) ) main = paste("Forecast Error Variance Decompositions for", c_name)
if ( missing(xlab) ) xlab = "horizon"

plot(
x[[which_c]],
Expand Down

0 comments on commit 98053d9

Please sign in to comment.