From 713bad61cb28bc40272be877f0943bccd941cf0d Mon Sep 17 00:00:00 2001 From: Anna SMYK Date: Wed, 26 Jun 2024 15:57:37 +0200 Subject: [PATCH] update examples --- R/modellingcontext.R | 2 +- R/spec_regarima.R | 2 +- man/add_usrdefvar.Rd | 2 +- man/modelling_context.Rd | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/modellingcontext.R b/R/modellingcontext.R index 9b8b2c2..9e78bbd 100644 --- a/R/modellingcontext.R +++ b/R/modellingcontext.R @@ -285,7 +285,7 @@ dynamic_ts<-function(moniker, data){ #' my_context<-modelling_context(variables=vars) #' # customize a default specification #' # init_spec <- rjd3x13::x13_spec("RSA5c") -#' # new_spec<- add_usrdefvar(init_spec,id = "reg1.iv1", regeffect="Trend") +#' # new_spec<- add_usrdefvar(init_spec,name = "reg1.iv1", regeffect="Trend") #' # modelling context is needed for the estimation phase #' # sa_x13<- rjd3x13::x13(ABS$X0.2.09.10.M, new_spec, context = my_context) #' @seealso \code{\link{add_usrdefvar}}, \code{\link{intervention_variable}} diff --git a/R/spec_regarima.R b/R/spec_regarima.R index b7c2c13..14acfbf 100644 --- a/R/spec_regarima.R +++ b/R/spec_regarima.R @@ -1414,7 +1414,7 @@ set_transform.default <- function(x, #' - "Seasonal": after the decomposition the effect is allocated to the seasonal component, like a Seasonal-outlier #' - "Series": after the decomposition the effect is allocated to #' the raw series: \eqn{yc_t=y_t+ effect} -#' - "SeasonallyAdjusted": after the decomposition the effect is allocated to +#' - "Seasonally Adjusted": after the decomposition the effect is allocated to #' the seasonally adjusted series: \eqn{sa_t=T+I+effect} #' @examples #' # creating one or several external regressors (TS objects), diff --git a/man/add_usrdefvar.Rd b/man/add_usrdefvar.Rd index e169a0b..ce51027 100644 --- a/man/add_usrdefvar.Rd +++ b/man/add_usrdefvar.Rd @@ -53,7 +53,7 @@ for the decomposition. \item "Seasonal": after the decomposition the effect is allocated to the seasonal component, like a Seasonal-outlier \item "Series": after the decomposition the effect is allocated to the raw series: \eqn{yc_t=y_t+ effect} -\item "SeasonallyAdjusted": after the decomposition the effect is allocated to +\item "Seasonally Adjusted": after the decomposition the effect is allocated to the seasonally adjusted series: \eqn{sa_t=T+I+effect} } } diff --git a/man/modelling_context.Rd b/man/modelling_context.Rd index de576e2..e2015d6 100644 --- a/man/modelling_context.Rd +++ b/man/modelling_context.Rd @@ -32,7 +32,7 @@ vars<-list(reg1=list(x = iv1),reg2=list(x = iv2) ) my_context<-modelling_context(variables=vars) # customize a default specification # init_spec <- rjd3x13::x13_spec("RSA5c") -# new_spec<- add_usrdefvar(init_spec,id = "reg1.iv1", regeffect="Trend") +# new_spec<- add_usrdefvar(init_spec,name = "reg1.iv1", regeffect="Trend") # modelling context is needed for the estimation phase # sa_x13<- rjd3x13::x13(ABS$X0.2.09.10.M, new_spec, context = my_context) }