left_right_plot: Plot two datasets in left and right direction

Description Usage Arguments Details Author(s)

Description

Plot two datasets in left and right direction

Usage

1
2
left_right_plot(label = "# of segments", left = 500, right = 200,
  unit = "")

Arguments

label

character Character vector of the labels for each row of the histogram

left

numeric Vector of the left side plot values

right

numeric Vector of the right side plot values

unit

character A unit that can be added to all numerical values and will be displayed in the plot

Details

from: https://stackoverflow.com/questions/18265941/two-horizontal-bar-charts-with-shared-axis-in-ggplot2-similar-to-population-pyr

Author(s)

Sebastian Wolf sebastian@mail-wolf.de


zappingseb/stravachaser documentation built on May 31, 2019, 5:38 a.m.