addReferenceLinesClinDataPlot {clinDataReview} | R Documentation |
Add reference (horizontal/vertical/diagonal) lines to a clinical data plot
Description
Add reference (horizontal/vertical/diagonal) lines to a clinical data plot
Usage
addReferenceLinesClinDataPlot(
gg,
data,
xVar,
yVar,
xLim = NULL,
yLim = NULL,
refLinePars = NULL,
facetPars = NULL
)
Arguments
gg |
|
data |
Data.frame with data. |
xVar |
String with column of |
yVar |
String with column of |
xLim , yLim |
Numeric vector of length 2 with limits for the x/y axes. |
refLinePars |
(optional) Nested list, with parameters for each reference line(s). Each sublist (a.k.a reference line) contains:
|
facetPars |
List with facetting parameters,
passed to the facetting function. Variables should be specified
as character or formula.
For 'wrap' facetting ( |
Value
Updated ggplot
object.
Author(s)
Laure Cougnaud