R/validation.R
validate_posterior_object.Rd
Check that object inherits from one of the supported posterior classes from the bsvars or bsvarSIGNs packages.
object
validate_posterior_object(object, arg_name = "object")
Object to validate.
Name of the argument for error messages.
invisible(object) if valid.
invisible(object)