getAxisLimPlot {clinDataReview} | R Documentation |
Get axis limits for a ggplot
plot
from the input dataset.
Description
Get axis limits for a ggplot
plot
from the input dataset.
Usage
getAxisLimPlot(
data,
xVar,
yVar,
xLim = NULL,
yLim = NULL,
facetPars = NULL,
refLineData = NULL
)
Arguments
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. |
facetPars |
List with facetting parameters,
passed to the facetting function. Variables should be specified
as character or formula.
For 'wrap' facetting ( |
refLineData |
Data used for the reference lines, as
output of the |
Value
Data.frame with limits of the:
x-axis: 'xmin'/'xmax'
y-axis: 'ymin'/'ymax'
for each element of the facetting variable (if any).
[Package clinDataReview version 1.6.1 Index]