orientation_plot: Function to decide the orientation of the plit in function of...

Description Usage Arguments Value

View source: R/scale_plot.R

Description

Function to decide the orientation of the plit in function of the data used

Usage

1
orientation_plot(.data, x.label, max_nbr_var, size_max_label)

Arguments

size_max_label

integer for the maximum number of character of a label that fit on a vertical graph

.data:

dataframe that contains the result for the barchart

x.label:

column of the dataframe .data that contains the different values of the categorical data

max_nbr_var:

integer for the maximum number of variable that fit on a vertical graph

Value

a character string "vertical" or "horizontal" as the recommended orientation for the plot


sharonorengo/visualisationIMPACT documentation built on Aug. 12, 2019, 3:34 p.m.