Description Usage Arguments Details Value Examples
View source: R/GraphFunctions.R
mlspToplineBar
creates a bar graph of a topline table
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
tableinput |
The source table created by make.topline() |
titlevar |
A quoted variable name. If supplied, the full text of this variable will be the title |
title |
A character string. If supplied it will be the graph's title. |
subtitle |
If supplied, it will be the graph's subtitle |
fillPalette |
defaults to "guess", in which case a "best-guess" palette is assigned. This argument also accepts the name of ColorBrewer palette or a character vector of color names. |
theme |
Optional. One of either "LubarSlides" or "MLSP". This sets the theme to theme_LubarSlides or theme_MLSP, respectively. |
xlab |
an optional x-axis name |
PlotMargins |
Only applicable when theme = "LubarSlides". It allows the user to manually change the plot.margin parameter. |
wraptitle |
= the length at which to wrap the character title string. By default it is 90 which matches the width of a LubarSlide. |
xlabelAngle |
optional, the angle of the x-axis labels |
xlabelWrap |
character length at which to wrap x-axis labels |
xlabelSize |
specification of x-label size, defaults to 13 |
This function takes a topline table created with make.topline() and returns it as a bar chart.
A dataframe.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.