plot.broken {breakDown}R Documentation

Break Down PLot

Description

Break Down PLot

Usage

## S3 method for class 'broken'
plot(x, trans = I, ..., add_contributions = TRUE,
  vcolors = c(`-1` = "#d8b365", `0` = "#f5f5f5", `1` = "#5ab4ac", X =
  "darkgrey"), digits = 3, rounding_function = round)

Arguments

x

the model model of 'broken' class

trans

transformation that shal be applied to scores

...

other parameters

add_contributions

shall variable contributions to be added on plot?

vcolors

named vector with colors

digits

number of decimal places (round) or significant digits (signif) to be used. See the rounding_function argument

rounding_function

function that is to used for rounding numbers. It may be signif() which keeps a specified number of significant digits. Or the default round() to have the same precision for all components

Value

a ggplot2 object


[Package breakDown version 0.1.5 Index]