XYDataMapping: XYDataMapping

XYDataMappingR Documentation

XYDataMapping

Description

R6 class for mapping x and y variable to data

Public fields

x

Name of x variable to map

y

Name of y variable to map

data

data.frame used for mapping

Methods

Public methods


Method new()

Create a new XYDataMapping object

Usage
XYDataMapping$new(x, y = NULL)
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.

See Also

Other DataMapping classes: BoxWhiskerDataMapping, CumulativeTimeProfileDataMapping, DDIRatioDataMapping, GroupMapping, Grouping, HistogramDataMapping, ObsVsPredDataMapping, ObservedDataMapping, PKRatioDataMapping, PieChartDataMapping, QQDataMapping, RangeDataMapping, ResVsPredDataMapping, ResVsTimeDataMapping, TimeProfileDataMapping, TornadoDataMapping, XYGDataMapping


Open-Systems-Pharmacology/TLF-Library documentation built on Feb. 8, 2025, 11:22 a.m.