Would be great to be able to use the same function even with data of all the same frequency. Right now, the estimate_mfbvar function throws an error:
prior_obj <- set_prior(Y = mf_sweden[, c("unemp", "infl", "ip", "eti")],
freq = c(rep("m", 4)),
n_lags = 4, n_burnin = 20, n_reps = 20)
mod_minn <- estimate_mfbvar(prior_obj, prior_type = "minn")
Error in if (aggregation[i] == "m") { :
missing value where TRUE/FALSE needed