Skip to content

Commit 2c84dae

Browse files
authored
[R] [doc] remove documentation index entries for internal functions (dmlc#9477)
1 parent 344f90b commit 2c84dae

File tree

3 files changed

+2
-45
lines changed

3 files changed

+2
-45
lines changed

R-package/R/xgb.ggplot.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ xgb.ggplot.shap.summary <- function(data, shap_contrib = NULL, features = NULL,
142142
#'
143143
#' @return A data.table containing the observation ID, the feature name, the
144144
#' feature value (normalized if specified), and the SHAP contribution value.
145+
#' @noRd
145146
prepare.ggplot.shap.data <- function(data_list, normalize = FALSE) {
146147
data <- data_list[["data"]]
147148
shap_contrib <- data_list[["shap_contrib"]]
@@ -170,6 +171,7 @@ prepare.ggplot.shap.data <- function(data_list, normalize = FALSE) {
170171
#' @param x Numeric vector
171172
#'
172173
#' @return Numeric vector with mean 0 and sd 1.
174+
#' @noRd
173175
normalize <- function(x) {
174176
loc <- mean(x, na.rm = TRUE)
175177
scale <- stats::sd(x, na.rm = TRUE)

R-package/man/normalize.Rd

Lines changed: 0 additions & 18 deletions
This file was deleted.

R-package/man/prepare.ggplot.shap.data.Rd

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)