XYGDataMapping | R Documentation |
R6 class for mapping x
, y
and GroupMapping
variables to data
tlf::XYDataMapping
-> XYGDataMapping
groupMapping
R6 class GroupMapping
object
new()
Create a new XYGDataMapping
object
XYGDataMapping$new( x = NULL, y = NULL, groupMapping = NULL, color = NULL, fill = NULL, linetype = NULL, shape = NULL, size = NULL, group = NULL, data = NULL )
x
Name of x variable to map
y
Name of y variable to map
groupMapping
R6 class GroupMapping
object
color
R6 class Grouping
object or its input
fill
R6 class Grouping
object or its input
linetype
R6 class Grouping
object or its input
shape
R6 class Grouping
object or its input
size
R6 class Grouping
object or its input
group
R6 class Grouping
object or its input
data
data.frame to map used by .smartMapping
A new XYGDataMapping
object
checkMapData()
Check that data
variables include map variables
XYGDataMapping$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.
clone()
The objects of this class are cloneable with this method.
XYGDataMapping$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other DataMapping classes:
BoxWhiskerDataMapping
,
CumulativeTimeProfileDataMapping
,
DDIRatioDataMapping
,
GroupMapping
,
Grouping
,
HistogramDataMapping
,
ObsVsPredDataMapping
,
ObservedDataMapping
,
PKRatioDataMapping
,
PieChartDataMapping
,
QQDataMapping
,
RangeDataMapping
,
ResVsPredDataMapping
,
ResVsTimeDataMapping
,
TimeProfileDataMapping
,
TornadoDataMapping
,
XYDataMapping
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.