Skip to content

Commit

Permalink
update example in specify_narrative #42
Browse files Browse the repository at this point in the history
  • Loading branch information
donotdespair committed Jul 24, 2024
1 parent d9f2043 commit 2758830
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
11 changes: 10 additions & 1 deletion R/specify.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,16 @@
#'
#' @examples
#' # specify a narrative restriction
#' specify_narrative(start = 166, periods = 1, type = "S", sign = 1, shock = 1, var = 6)
#' narrative = specify_narrative(
#' start = 166,
#' periods = 1,
#' type = "S",
#' sign = 1,
#' shock = 1,
#' var = 6
#' )
#' # use it to specify the model
#' specification = specify_bsvarSIGN$new(monetary, sign_narrative = list(narrative))
#'
#' @export
specify_narrative = function(start, periods = 1, type = "S", sign = 1, shock = 1, var = NA) {
Expand Down
11 changes: 10 additions & 1 deletion man/specify_narrative.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2758830

Please sign in to comment.