Description Usage Arguments Value Examples
The function was developed for a shiny report of a medical device manufacturer. More about the project and developer: Data-Science-Architect.
1 2 3 4 | ReportPlot(x, main = "Productname", ylab = "cpm (Moving Average)",
connection = "spline",
legend_line = "Compliants per Million sold; \nMoving Average on 3 Month base",
legend_bar = "Quantity Sold")
|
x |
A data.frame with the shape of: See GetSampleData |
main |
Title of the plot. |
ylab |
Label for the y-Axis. |
connection |
Can be either spline or linear |
legend_line |
Legend for curve/line in the plot |
legend_bar |
Legeng for bars in the plot |
Returns the Plot.
1 2 | data <- GetSampleData()
ReportPlot(data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.