plot_funds_bar {PublicWorksFinanceIT}R Documentation

Repartition of Financial Funds Allocation: Investment Amounts Barplot

Description

The plot_funds_bar function creates a barplot to visually represent the distribution of financial funds allocation across different investment channels.

Usage

plot_funds_bar(data, var_col)

Arguments

data

Dataset of class 'data.frame'. Specify the dataset from which to take information.

var_col

integer value. Specify the number of the columns associated with the variable to visualize.

Value

An object of class gg and ggplot representing the barplot

Author(s)

Lorena Ricciotti

Examples

data(OCpoint)
plot_funds_bar(OCpoint, var_col = c(10:15))
#Barplot visualizing the total amount allocated by each fund.


[Package PublicWorksFinanceIT version 0.2.0 Index]