graphCurves: function to generate ggplot object (in form of a single item...

View source: R/graphicR.R

graphCurvesR Documentation

function to generate ggplot object (in form of a single item list) from a list of data.frames of data

Description

function to generate ggplot object (in form of a single item list) from a list of data.frames of data

Usage

graphCurves(tables, x, y, lineWidth = 0.5, xLimits = NA, yPercentage = FALSE)

Arguments

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

Value

a (single element) list of ggplot objects

Note

due to the graphs parameter you can use: graphCurves(tables)


BenBruyneel/BBPersonalR documentation built on Aug. 23, 2024, 8:28 p.m.