33
33
# ' \item{default_color}{\code{#371ea3} for Break Down bar and highlighted line.}
34
34
# ' }
35
35
# ' }
36
- # ' \subsection{Plot specific options:}{
36
+ # ' \subsection{Plot- specific options:}{
37
37
# ' \code{**} is a two letter code unique to each plot, might be
38
38
# ' one of \code{[bd,sv,cp,fi,pd,ad,rv,fd,tv,at]}.\cr
39
39
# '
40
40
# ' \describe{
41
- # ' \item{**_title}{Plot specific title. Default varies.}
42
- # ' \item{**_subtitle}{Plot specific subtitle. Default is \code{subtitle}.}
43
- # ' \item{**_bar_width}{Plot specific width of bars. Default is \code{bar_width},
41
+ # ' \item{**_title}{Plot-specific title. Default varies.}
42
+ # ' \item{**_subtitle}{Plot-specific subtitle. Default is \code{subtitle}.}
43
+ # ' \item{**_axis_title}{Plot-specific axis title. Default varies.}
44
+ # ' \item{**_bar_width}{Plot-specific width of bars. Default is \code{bar_width},
44
45
# ' ignored when \code{scale_plot = TRUE}.}
45
- # ' \item{**_line_size}{\code{line_size} Plot specific width of lines. Default is \code{line_size}.}
46
- # ' \item{**_point_size}{Plot specific point radius. Default is \code{point_size}.}
47
- # ' \item{**_*_color}{Plot specific \code{[bar,line,point]} color. Default is \code{[bar,line,point]_color}.}
46
+ # ' \item{**_line_size}{Plot- specific width of lines. Default is \code{line_size}.}
47
+ # ' \item{**_point_size}{Plot- specific point radius. Default is \code{point_size}.}
48
+ # ' \item{**_*_color}{Plot- specific \code{[bar,line,point]} color. Default is \code{[bar,line,point]_color}.}
48
49
# ' }
49
50
# ' }
50
51
# '
@@ -131,18 +132,21 @@ ms_options <- function(...) {
131
132
default_color = " #371ea3" ,
132
133
bd_title = " Break Down" ,
133
134
bd_subtitle = NULL ,
135
+ bd_axis_title = " contribution" ,
134
136
bd_bar_width = NULL ,
135
137
bd_positive_color = NULL ,
136
138
bd_negative_color = NULL ,
137
139
bd_default_color = NULL ,
138
140
sv_title = " Shapley Values" ,
139
141
sv_subtitle = NULL ,
142
+ sv_axis_title = " contribution" ,
140
143
sv_bar_width = NULL ,
141
144
sv_positive_color = NULL ,
142
145
sv_negative_color = NULL ,
143
146
sv_default_color = NULL ,
144
147
cp_title = " Ceteris Paribus" ,
145
148
cp_subtitle = NULL ,
149
+ cp_axis_title = " prediction" ,
146
150
cp_bar_width = NULL ,
147
151
cp_line_size = NULL ,
148
152
cp_point_size = 3 ,
@@ -151,34 +155,41 @@ ms_options <- function(...) {
151
155
cp_point_color = " #371ea3" ,
152
156
fi_title = " Feature Importance" ,
153
157
fi_subtitle = NULL ,
158
+ fi_axis_title = NULL ,
154
159
fi_bar_width = NULL ,
155
160
fi_bar_color = NULL ,
156
161
pd_title = " Partial Dependence" ,
157
162
pd_subtitle = NULL ,
163
+ pd_axis_title = " average prediction" ,
158
164
pd_bar_width = NULL ,
159
165
pd_line_size = NULL ,
160
166
pd_bar_color = NULL ,
161
167
pd_line_color = NULL ,
162
168
ad_title = " Accumulated Dependence" ,
163
169
ad_subtitle = NULL ,
170
+ ad_axis_title = " accumulated prediction" ,
164
171
ad_bar_width = NULL ,
165
172
ad_line_size = NULL ,
166
173
ad_bar_color = NULL ,
167
174
ad_line_color = NULL ,
168
175
rv_title = " Residuals vs Feature" ,
169
176
rv_subtitle = NULL ,
177
+ rv_axis_title = " residuals" ,
170
178
rv_point_size = NULL ,
171
179
rv_point_color = NULL ,
172
180
fd_title = " Feature Distribution" ,
173
181
fd_subtitle = NULL ,
182
+ fd_axis_title = " count" ,
174
183
fd_bar_width = NULL ,
175
184
fd_bar_color = NULL ,
176
185
tv_title = " Target vs Feature" ,
177
186
tv_subtitle = NULL ,
187
+ tv_axis_title = " target" ,
178
188
tv_point_size = NULL ,
179
189
tv_point_color = NULL ,
180
190
at_title = " Average Target vs Feature" ,
181
191
at_subtitle = NULL ,
192
+ at_axis_title = " average target" ,
182
193
at_bar_width = NULL ,
183
194
at_line_size = NULL ,
184
195
at_point_size = 3 ,
0 commit comments