TimeProfileDataMapping | R Documentation |
R6 class defining the configuration of a ggplot
object for time profile plot
tlf::XYDataMapping
-> tlf::XYGDataMapping
-> tlf::RangeDataMapping
-> TimeProfileDataMapping
y2Axis
Name of y2Axis variable to map
new()
Create a new TimeProfileDataMapping
object
TimeProfileDataMapping$new( x = NULL, y = NULL, ymin = NULL, ymax = NULL, group = NULL, y2Axis = NULL, color = NULL, fill = NULL, linetype = NULL, data = NULL )
x
Name of x variable to map
y
Name of y variable to map
ymin
Name of ymin variable to map
ymax
Name of ymax variable to map
group
R6 class Grouping
object or its input
y2Axis
Name of y2Axis variable to map
color
R6 class Grouping
object or its input
fill
R6 class Grouping
object or its input
linetype
R6 class Grouping
object or its input
data
data.frame to map used by .smartMapping
A new RangeDataMapping
object
checkMapData()
Check that data
variables include map variables
TimeProfileDataMapping$checkMapData(data, metaData = NULL)
data
data.frame to check
metaData
list containing information on data
A data.frame with map and legendLabels
variables.
Dummy variable legendLabels
is necessary to allow further modification of plots.
requireDualAxis()
Assess if data
require a dual axis plot
TimeProfileDataMapping$requireDualAxis(data)
data
data.frame to check
A logical
getLeftAxis()
Render NA values for all right axis data
TimeProfileDataMapping$getLeftAxis(data)
data
A data.frame
A data.frame to be plotted in left axis
getRightAxis()
Render NA values for all left axis data
TimeProfileDataMapping$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.
TimeProfileDataMapping$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
,
TornadoDataMapping
,
XYDataMapping
,
XYGDataMapping
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.