R6 class for mapping x and y variable to data
See also
Other DataMapping classes:
BoxWhiskerDataMapping,
CumulativeTimeProfileDataMapping,
DDIRatioDataMapping,
GroupMapping,
Grouping,
HistogramDataMapping,
ObsVsPredDataMapping,
ObservedDataMapping,
PKRatioDataMapping,
PieChartDataMapping,
QQDataMapping,
RangeDataMapping,
ResVsPredDataMapping,
ResVsTimeDataMapping,
TimeProfileDataMapping,
TornadoDataMapping,
XYGDataMapping
Public fields
x
Name of x variable to map
y
Name of y variable to map
data
data.frame used for mapping
Methods
Method new()
Create a new XYDataMapping object
Arguments
x
Name of x variable to map
y
Name of y variable to map
Returns
A new XYDataMapping object
Method checkMapData()
Check that data variables include map variables
Usage
XYDataMapping$checkMapData(data, metaData = NULL)
Arguments
data
data.frame to check
metaData
list containing information on data
Returns
A data.frame with map and defaultAes variables.
Dummy variable defaultAes is necessary to allow further modification of plots.
Method clone()
The objects of this class are cloneable with this method.
Usage
XYDataMapping$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.