Skip to content

Commit

Permalink
Merge pull request #72 from TanguyBarthelemy/develop
Browse files Browse the repository at this point in the history
Add knitr to Suggest and solve a typo
  • Loading branch information
palatej authored Oct 28, 2024
2 parents 64b79c3 + 2c45e2e commit e0603b2
Show file tree
Hide file tree
Showing 59 changed files with 206 additions and 181 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ Imports:
stats,
utils
Suggests:
spelling
spelling,
knitr
VignetteBuilder:
knitr
Encoding: UTF-8
Expand Down
6 changes: 4 additions & 2 deletions R/display.R
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ print.summary.JD3_SARIMA_ESTIMATION <- function(x, digits = max(3L, getOption("d
stde <- sqrt(diag(x$parameters$cov))
t <- estimate / stde
pval <- 2 * pt(abs(t), ndf, lower.tail = FALSE)
table <- data.frame(estimate, "ESTIMATED", stde, t, pval)
table <- data.frame(estimate, "ESTIMATED", stde, t, pval,
stringsAsFactors = FALSE)
colnames(table) <- c(
"Estimate", "Type", "Std. Error",
"T-stat", "Pr(>|t|)"
Expand Down Expand Up @@ -398,7 +399,8 @@ print.JD3_SARIMA_ESTIMATE <- function(x, digits = max(3L, getOption("digits") -
stde <- sqrt(diag(x$bvar))
t <- estimate / stde
pval <- 2 * pt(abs(t), ndf, lower.tail = FALSE)
table <- data.frame(estimate, "ESTIMATED", stde, t, pval)
table <- data.frame(estimate, "ESTIMATED", stde, t, pval,
stringsAsFactors = FALSE)
colnames(table) <- c(
"Estimate", "Type", "Std. Error",
"T-stat", "Pr(>|t|)"
Expand Down
2 changes: 1 addition & 1 deletion R/spec_regarima.R
Original file line number Diff line number Diff line change
Expand Up @@ -1497,7 +1497,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}
#' - "Seasonally Adjusted": after the decomposition the effect is allocated to
#' - "SeasonallyAdjusted": 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),
Expand Down
18 changes: 10 additions & 8 deletions man/add_usrdefvar.Rd

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

2 changes: 1 addition & 1 deletion man/aggregate.Rd

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

4 changes: 2 additions & 2 deletions man/arima_difference.Rd

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

2 changes: 1 addition & 1 deletion man/arima_model.Rd

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

2 changes: 1 addition & 1 deletion man/arima_properties.Rd

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

4 changes: 2 additions & 2 deletions man/arima_sum.Rd

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

2 changes: 1 addition & 1 deletion man/autocorrelations.Rd

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

11 changes: 7 additions & 4 deletions man/calendar_td.Rd

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

6 changes: 3 additions & 3 deletions man/chained_calendar.Rd

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

4 changes: 2 additions & 2 deletions man/data_to_ts.Rd

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

2 changes: 1 addition & 1 deletion man/differences.Rd

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

2 changes: 1 addition & 1 deletion man/differencing_fast.Rd

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

2 changes: 1 addition & 1 deletion man/do_stationary.Rd

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

2 changes: 1 addition & 1 deletion man/easter_dates.Rd

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

8 changes: 5 additions & 3 deletions man/easter_day.Rd

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

4 changes: 2 additions & 2 deletions man/easter_variable.Rd

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

4 changes: 2 additions & 2 deletions man/fixed_day.Rd

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

25 changes: 13 additions & 12 deletions man/holidays.Rd

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

16 changes: 9 additions & 7 deletions man/intervention_variable.Rd

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

4 changes: 2 additions & 2 deletions man/ljungbox.Rd

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

28 changes: 15 additions & 13 deletions man/long_term_mean.Rd

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

4 changes: 2 additions & 2 deletions man/lp_variable.Rd

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

4 changes: 2 additions & 2 deletions man/mad.Rd

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

14 changes: 8 additions & 6 deletions man/modelling_context.Rd

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

Loading

0 comments on commit e0603b2

Please sign in to comment.