Description Usage Arguments Value Author(s) References Examples
Draws a bar-line plot
1 2 3 4 5 6 7 8 9 10 11 |
data |
a data frame. |
id |
character, name of the ID variable. |
bars |
character vector, names of the bar variables. |
line |
character, name of the line variable. |
order.by |
character, name of the variable used to order bars (on the x-axis). |
decreasing |
logical; if |
labels.bars |
character vector, labels for the bar variables. |
label.line |
character, label for the line variable on the second y-axis (on the right). |
title |
character, plot title. |
A ggplot2
object
Marco Sandri, Paola Zuccolotto, Marica Manisera ( basketballanalyzer.help@unibs.it)
P. Zuccolotto and M. Manisera (2020) Basketball Data Science: With Applications in R. CRC Press.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.