You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: R/plot_predict_parts.R
+19-19Lines changed: 19 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -9,35 +9,35 @@
9
9
#'
10
10
#' \subsection{break_down}{
11
11
#' \itemize{
12
-
#' \item{\code{max_features}}{ maximal number of features to be included in the plot. default value is \code{10}}
13
-
#' \item{\code{min_max}}{ a range of OX axis. By default \code{NA}, therefore it will be extracted from the contributions of \code{x}.
12
+
#' \item{\code{max_features} -- maximal number of features to be included in the plot. default value is \code{10}}
13
+
#' \item{\code{min_max} -- a range of OX axis. By default \code{NA}, therefore it will be extracted from the contributions of \code{x}.
14
14
#' But it can be set to some constants, useful if these plots are to be used for comparisons.}
15
-
#' \item{\code{add_contributions}}{ if \code{TRUE}, variable contributions will be added to the plot.}
16
-
#' \item{\code{shift_contributions}}{ number describing how much labels should be shifted to the right, as a fraction of range. By default equal to \code{0.05}.}
17
-
#' \item{\code{vcolors}}{ If \code{NA} (default), DrWhy colors are used.}
18
-
#' \item{\code{vnames}}{ a character vector, if specified then will be used as labels on OY axis. By default \code{NULL}.}
19
-
#' \item{\code{digits}}{ number of decimal places (\code{\link{round}}) or significant digits (\code{\link{signif}}) to be used.}
20
-
#' \item{\code{rounding_function}}{ a function to be used for rounding numbers.}
21
-
#' \item{\code{plot_distributions}}{ if \code{TRUE} then distributions of conditional propotions will be plotted. This requires \code{keep_distributions=TRUE} in the
22
-
#' \code{\link{break_down}}, \code{\link{local_attributions}}, or \code{\link{local_interactions}}.}
23
-
#' \item{\code{baseline}}{ if numeric then veritical line starts in \code{baseline}.}
24
-
#' \item{\code{title}}{ a character. Plot title. By default \code{"Break Down profile"}.}
25
-
#' \item{\code{subtitle}}{ a character. Plot subtitle. By default \code{NULL} - then subtitle is set to "created for the XXX, YYY model",
15
+
#' \item{\code{add_contributions} -- if \code{TRUE}, variable contributions will be added to the plot.}
16
+
#' \item{\code{shift_contributions} -- number describing how much labels should be shifted to the right, as a fraction of range. By default equal to \code{0.05}.}
17
+
#' \item{\code{vcolors} -- If \code{NA} (default), DrWhy colors are used.}
18
+
#' \item{\code{vnames} -- a character vector, if specified then will be used as labels on OY axis. By default \code{NULL}.}
19
+
#' \item{\code{digits} -- number of decimal places (\code{\link{round}}) or significant digits (\code{\link{signif}}) to be used.}
20
+
#' \item{\code{rounding_function} -- a function to be used for rounding numbers.}
21
+
#' \item{\code{plot_distributions} -- if \code{TRUE} then distributions of conditional propotions will be plotted. This requires \code{keep_distributions=TRUE} in the
22
+
#' \code{break_down}, \code{local_attributions}, or \code{local_interactions}.}
23
+
#' \item{\code{baseline} -- if numeric then veritical line starts in \code{baseline}.}
24
+
#' \item{\code{title} -- a character. Plot title. By default \code{"Break Down profile"}.}
25
+
#' \item{\code{subtitle} -- a character. Plot subtitle. By default \code{NULL} - then subtitle is set to "created for the XXX, YYY model",
26
26
#' where XXX, YYY are labels of given explainers.}
27
-
#' \item{\code{max_vars}}{ alias for the \code{max_features} parameter.}
27
+
#' \item{\code{max_vars} -- alias for the \code{max_features} parameter.}
28
28
#' }
29
29
#' }
30
30
#' \subsection{shap}{
31
31
#' \itemize{
32
-
#' \item{\code{show_boxplots}}{ logical if \code{TRUE} (default) boxplot will be plotted to show uncertanity of attributions.}
33
-
#' \item{\code{vcolors}}{ If \code{NA} (default), DrWhy colors are used.}
34
-
#' \item{\code{max_features}}{ maximal number of features to be included in the plot. default value is \code{10}}
35
-
#' \item{\code{max_vars}}{ alias for the \code{max_features} parameter.}
32
+
#' \item{\code{show_boxplots} -- logical if \code{TRUE} (default) boxplot will be plotted to show uncertanity of attributions.}
33
+
#' \item{\code{vcolors} -- If \code{NA} (default), DrWhy colors are used.}
34
+
#' \item{\code{max_features} -- maximal number of features to be included in the plot. default value is \code{10}}
35
+
#' \item{\code{max_vars} -- alias for the \code{max_features} parameter.}
36
36
#' }
37
37
#' }
38
38
#' \subsection{oscillations}{
39
39
#' \itemize{
40
-
#' \item{\code{bar_width}}{ width of bars. By default \code{10}}
40
+
#' \item{\code{bar_width} -- width of bars. By default \code{10}}
0 commit comments