R/draw_posterior.R

Defines functions draw_posterior

Documented in draw_posterior

#' Posterior Simulation
#' 
#' Forwards model input to posterior simulation functions. This is a generic function.
#' 
#' @param object a list of model specifications. Usually, the output of a call to 
#' \code{\link{gen_var}}, \code{\link{gen_vec}} or \code{\link{gen_dfm}} in combination with \code{\link{add_priors}}.
#' @param ... arguments passed forward to method.
#' 
#' @export
draw_posterior <- function(object, ...){
  UseMethod("draw_posterior")
}

Try the bvartools package in your browser

Any scripts or data that you put into this service are public.

bvartools documentation built on Aug. 31, 2023, 1:09 a.m.