Grouping: Grouping

GroupingR Documentation

Grouping

Description

R6 class for mapping a group of variable(s) and their label to data

Public fields

group

data.frame or character defining the groups or group variables to group by

label

character printed name of the grouping

Methods

Public methods


Method new()

Create a new Grouping object

Usage
Grouping$new(group, label = NULL)
Arguments
group

data.frame or character vector of groups

label

character name of the group

Returns

A new Grouping object


Method getCaptions()

Get the caption associated to each group

Usage
Grouping$getCaptions(data, metaData = NULL)
Arguments
data

data.frame to map

metaData

list of information on the data

Returns

A vector of characters containing the captions associated to each group of data


Method clone()

The objects of this class are cloneable with this method.

Usage
Grouping$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

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


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