bar_plot: Bar plot of utilities

View source: R/bar_plot.R

bar_plotR Documentation

Bar plot of utilities

Description

Create ggplot2 bar plots of the utilities at any level of the decision model

Usage

bar_plot(model, deep, colors, title, xlab, ylab)

Arguments

model

data.table obtained with compute_model

deep

the deep to navigate the model object a select the utilities

colors

a list of colors for the bars

title

title for the bar plot

xlab

label for horizontal axis

ylab

label for vertical axis

Value

ggplot2 object.

Author(s)

Pedro Guarderas pedro.felipe.guarderas@gmail.com

Examples

library( mau )
vignette( topic = 'Running_MAUT', package = 'mau' ) 

pedroguarderas/mau documentation built on Oct. 30, 2023, 4:20 a.m.