Skip to content

Commit

Permalink
fix man
Browse files Browse the repository at this point in the history
  • Loading branch information
martinju committed Oct 2, 2024
1 parent 61336bf commit a02c9c9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
5 changes: 3 additions & 2 deletions R/explain.R
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@
#' \item{internal}{List with the different parameters, data, functions and other output used internally.}
#' \item{pred_explain}{Numeric vector with the predictions for the explained observations}
#' \item{MSEv}{List with the values of the MSEv evaluation criterion for the approach. See the
#' \href{
#' https://norskregnesentral.github.io/shapr/articles/understanding_shapr.html#msev-evaluation-criterion
#' \href{https://norskregnesentral.github.io/shapr/articles/understanding_shapr.html#msev-evaluation-criterion
#' }{MSEv evaluation section in the vignette for details}.}
#' \item{timing}{List containing timing information for the different parts of the computation.
#' `init_time` and `end_time` gives the time stamps for the start and end of the computation.
Expand Down Expand Up @@ -206,10 +205,12 @@
#' # Explain predictions
#' p <- mean(data_train[, y_var])
#'
#' \dontrun{
#' # (Optionally) enable parallelization via the future package
#' if (requireNamespace("future", quietly = TRUE)) {
#' future::plan("multisession", workers = 2)
#' }
#' }
#'
#' # (Optionally) enable progress updates within every iteration via the progressr package
#' if (requireNamespace("progressr", quietly = TRUE)) {
Expand Down
5 changes: 3 additions & 2 deletions man/explain.Rd

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

3 changes: 1 addition & 2 deletions man/explain_forecast.Rd

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

5 changes: 3 additions & 2 deletions man/finalize_explanation_forecast.Rd

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

0 comments on commit a02c9c9

Please sign in to comment.