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

View source: R/plot_rwa.R

plot_rwaR Documentation

Plot the rescaled importance values from the output of rwa()

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

plot_rwa(rwa)

Arguments

rwa

Direct list output from rwa().

Examples


library(ggplot2)
diamonds %>%
  rwa(outcome = "price",
      predictors = c("depth","carat", "x", "y", "z"),
      applysigns = TRUE) %>%
  plot_rwa()



martinctc/rwa documentation built on Feb. 19, 2025, 11:17 a.m.