plot_rwa: Plot the rescaled importance values from the output of...

Description Usage Arguments Examples

View source: R/plot_rwa.R

Description

Pass the output of rwa() and plot a bar chart of the rescaled importance values. Signs are always calculated and taken into account, which is equivalent to setting the applysigns argument to TRUE in rwa().

Usage

1

Arguments

rwa

Direct list output from rwa().

Examples

1
2
3
4
5
6
library(ggplot2)
diamonds %>%
  rwa(outcome = "price",
      predictors = c("depth","carat", "x", "y", "z"),
      applysigns = TRUE) %>%
  plot_rwa()

rwa documentation built on Jan. 13, 2021, 4:20 p.m.