Skip to content

Commit

Permalink
update website
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Clark committed Jun 30, 2024
1 parent b282f45 commit bea6bc7
Show file tree
Hide file tree
Showing 175 changed files with 3,339 additions and 615 deletions.
7 changes: 3 additions & 4 deletions R/forecast.mvgam.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,12 @@ forecast <- function(object, ...){
#'@rdname forecast.mvgam
#'@method forecast mvgam
#' @examples
#' \dontrun{
#' simdat <- sim_mvgam(n_series = 3, trend_model = 'AR1')
#' \donttest{
#' simdat <- sim_mvgam(n_series = 3, trend_model = AR())
#' mod <- mvgam(y ~ s(season, bs = 'cc', k = 6),
#' trend_model = AR(),
#' noncentred = TRUE,
#' data = simdat$data_train,
#' burnin = 300,
#' samples = 300,
#' chains = 2)
#'
#' # Hindcasts on response scale
Expand Down
10 changes: 5 additions & 5 deletions R/hindcast.mvgam.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
#'organized into a convenient format
#'@return An object of class \code{mvgam_forecast} containing hindcast distributions.
#'See \code{\link{mvgam_forecast-class}} for details.
#'#'@seealso \code{\link{forecast.mvgam}}
#'
#'@seealso \code{\link{forecast.mvgam}}
#'@export
hindcast <- function(object, ...){
UseMethod("hindcast", object)
Expand All @@ -16,13 +17,12 @@ hindcast <- function(object, ...){
#'@rdname hindcast.mvgam
#'@method hindcast mvgam
#' @examples
#' \dontrun{
#' simdat <- sim_mvgam(n_series = 3, trend_model = 'AR1')
#' \donttest{
#' simdat <- sim_mvgam(n_series = 3, trend_model = AR())
#' mod <- mvgam(y ~ s(season, bs = 'cc'),
#' trend_model = AR(),
#' noncentred = TRUE,
#' data = simdat$data_train,
#' burnin = 300,
#' samples = 300,
#' chains = 2)
#'
#' # Hindcasts on response scale
Expand Down
2 changes: 1 addition & 1 deletion R/loo.mvgam.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#' forecast evaluations for further scrutiny of models (see for example \code{\link{forecast.mvgam}},
#' \code{\link{score.mvgam_forecast}} and \code{\link{lfo_cv}})
#'@examples
#'\dontrun{
#'\donttest{
#'# Simulate 4 time series with hierarchical seasonality
#'# and independent AR1 dynamic processes
#'set.seed(111)
Expand Down
5 changes: 2 additions & 3 deletions R/mcmc_plot.mvgam.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,11 @@
#' that can be used for argument `variable`
#' @examples
#' \dontrun{
#' simdat <- sim_mvgam(n_series = 1, trend_model = 'AR1')
#' simdat <- sim_mvgam(n_series = 1, trend_model = AR())
#' mod <- mvgam(y ~ s(season, bs = 'cc', k = 6),
#' trend_model = AR(),
#' noncentred = TRUE,
#' data = simdat$data_train,
#' burnin = 300,
#' samples = 300,
#' chains = 2)
#' mcmc_plot(mod)
#' mcmc_plot(mod, type = 'neff_hist')
Expand Down
6 changes: 1 addition & 5 deletions R/monotonic.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#' @author Nicholas J Clark
#' @name monotonic
#' @examples
#' \dontrun{
#' \donttest{
#' # Simulate data from a monotonically increasing function
#' set.seed(123123)
#' x <- runif(80) * 4 - 1
Expand Down Expand Up @@ -72,8 +72,6 @@
#' mod2 <- mvgam(y ~ s(x, bs = 'moi', k = 18),
#' data = mod_data,
#' family = gaussian(),
#' burnin = 300,
#' samples = 300,
#' chains = 2)
#'
#' plot_predictions(mod2,
Expand Down Expand Up @@ -108,8 +106,6 @@
#' mod <- mvgam(y ~ s(x, bs = 'moi', by = fac, k = 8),
#' data = mod_data,
#' family = gaussian(),
#' burnin = 300,
#' samples = 300,
#' chains = 2)
#'
#' # Visualise the different monotonic functions
Expand Down
2 changes: 1 addition & 1 deletion R/ti.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#'
#'
#' @examples
#' \dontrun{
#' \donttest{
#' # Simulate some data
#' dat <- mgcv::gamSim(1, n = 200, scale = 2)
#'
Expand Down
10 changes: 5 additions & 5 deletions docs/index.html

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

Binary file modified docs/reference/Rplot001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/Rplot002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/Rplot003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/Rplot004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/Rplot005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/Rplot006.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/Rplot007.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/Rplot008.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/Rplot009.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/Rplot010.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/Rplot011.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/Rplot012.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/Rplot013.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/Rplot014.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/Rplot015.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/Rplot016.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/conditional_effects.mvgam-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/conditional_effects.mvgam-10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/conditional_effects.mvgam-11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/conditional_effects.mvgam-12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/conditional_effects.mvgam-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/conditional_effects.mvgam-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/conditional_effects.mvgam-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/conditional_effects.mvgam-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/conditional_effects.mvgam-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/conditional_effects.mvgam-7.png
Binary file modified docs/reference/conditional_effects.mvgam-8.png
Binary file modified docs/reference/conditional_effects.mvgam-9.png
Loading

0 comments on commit bea6bc7

Please sign in to comment.