Skip to content

Commit

Permalink
Replace "mshap" by "mshapviz" in docu.
Browse files Browse the repository at this point in the history
  • Loading branch information
mayer79 committed Oct 13, 2023
1 parent 06e96ee commit da511ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## User-visible changes

- `sv_importance()` of a "mshap" object now returns a dodged barplot instead of separate barplots via {patchwork}. Use the new argument `bar_type` to switch to a stacked barplot (`bar_type = "stack"`), to "facets" (via {ggplot2}), or "separate" for the old behaviour.
- `sv_importance()` of a "mshapviz" object now returns a dodged barplot instead of separate barplots via {patchwork}. Use the new argument `bar_type` to switch to a stacked barplot (`bar_type = "stack"`), to "facets" (via {ggplot2}), or "separate" for the old behaviour.

## New features

Expand Down
2 changes: 1 addition & 1 deletion R/sv_importance.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#' Set to `Inf` to show all features. Has no effect if `kind = "no"`.
#' @param fill Color used to fill the bars (only used if bars are shown).
#' @param bar_width Relative width of the bars (only used if bars are shown).
#' @param bar_type For "mshap" objects with `kind = "bar"`: How should bars be
#' @param bar_type For "mshapviz" objects with `kind = "bar"`: How should bars be
#' represented? The default is "dodge" for dodged bars. Other options are "stack",
#' "wrap", or "separate" (via {patchwork}). Note that "separate" is currently
#' the only option that supports `show_numbers = TRUE`.
Expand Down
2 changes: 1 addition & 1 deletion man/sv_importance.Rd

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

0 comments on commit da511ad

Please sign in to comment.