ObservedDataMapping | R Documentation |
R6 class for mapping x
, y
, of observed data for a time profile plot
tlf::XYDataMapping
-> tlf::XYGDataMapping
-> ObservedDataMapping
error
mapping error bars around scatter points
mdv
mapping missing dependent variable
ymin
mapping error bars around scatter points
ymax
mapping error bars around scatter points
y2Axis
Name of y2Axis variable to map
lloq
mapping lloq lines
new()
Create a new ObservedDataMapping
object
ObservedDataMapping$new( x, y, ymin = NULL, ymax = NULL, y2Axis = NULL, group = NULL, color = NULL, shape = NULL, error = NULL, uncertainty = lifecycle::deprecated(), mdv = NULL, data = NULL, lloq = NULL )
x
Name of x variable to map
y
Name of y variable to map
ymin
mapping lower end of error bars around scatter points
ymax
mapping upper end of error bars around scatter points
y2Axis
Name of y2Axis variable to map
group
R6 class Grouping
object or its input
color
R6 class Grouping
object or its input
shape
R6 class Grouping
object or its input
error
mapping error bars around scatter points
uncertainty
uncertainty were
replaced by
error
argument. Mapping error bars around scatter points.
mdv
mapping missing dependent variable
data
data.frame to map used by .smartMapping
lloq
mapping lloq lines
A new ObservedDataMapping
object
checkMapData()
Check that data
variables include map variables
ObservedDataMapping$checkMapData(data, metaData = NULL)
data
data.frame to check
metaData
list containing information on data
A data.frame with map and defaultAes
variables.
Dummy variable defaultAes
is necessary to allow further modification of plots.
requireDualAxis()
Assess if data
require a dual axis plot
ObservedDataMapping$requireDualAxis(data)
data
data.frame to check
A logical
getLeftAxis()
Render NA values for all right axis data
ObservedDataMapping$getLeftAxis(data)
data
A data.frame
A data.frame to be plotted in left axis
getRightAxis()
Render NA values for all left axis data
ObservedDataMapping$getRightAxis(data)
data
A data.frame
A data.frame to be plotted in right axis
clone()
The objects of this class are cloneable with this method.
ObservedDataMapping$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other DataMapping classes:
BoxWhiskerDataMapping
,
CumulativeTimeProfileDataMapping
,
DDIRatioDataMapping
,
GroupMapping
,
Grouping
,
HistogramDataMapping
,
ObsVsPredDataMapping
,
PKRatioDataMapping
,
PieChartDataMapping
,
QQDataMapping
,
RangeDataMapping
,
ResVsPredDataMapping
,
ResVsTimeDataMapping
,
TimeProfileDataMapping
,
TornadoDataMapping
,
XYDataMapping
,
XYGDataMapping
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.