graphCurves | R Documentation |
function to generate ggplot object (in form of a single item list) from a list of data.frames of data
graphCurves(tables, x, y, lineWidth = 0.5, xLimits = NA, yPercentage = FALSE)
tables |
list of data.frames from which to generate the graphs Note: MUST be a list |
x |
character vector defining which column from the data.frames to use for the x-axis |
y |
character vector defining which column from the data.frames to use for the y-axis |
lineWidth |
defines the width of the lines in the graphs drawn from the x,y coordinates |
xLimits |
defines the range x coordinates c(minimum, maximum), all coordinates outsude this range are not drawn |
yPercentage |
defines if y-axis maximum should be set to 100 percent |
a (single element) list of ggplot objects
due to the graphs parameter you can use: graphCurves(tables)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.