DataMapper-accessors: Accessing and modifying data in a 'DataMapper' object.

DataMapper-accessorsR Documentation

Accessing and modifying data in a DataMapper object.

Description

Documentation for the various setters and getters which allow manipulation of data in the slots of a DataMapper object.

Usage

## S4 method for signature 'DataMapper'
rawdata(object)

## S4 replacement method for signature 'DataMapper,ANY'
rawdata(object) <- value

Arguments

object

A DataMapper object to get or set data from.

value

A list-like object to assign to the rawdata slot. Should be a data.frame or data.table with the current implementation.

Details

rawdata: Get the raw data slot from a DataMapper object. Returns a list-like containing one or more raw data inputs to the DataMapper object.

rawdata: Set the raw data slot from a DataMapper object. value: The list-like object to set for the rawdata slot. Note: this currently only supports data.frame or data.table objects.

Value

Accessors: See details

Setters: An update DataMapper object, returned invisibly.

See Also

Other DataMapper-accessors: LongTableDataMapper-accessors, TREDataMapper-accessors


bhklab/CoreGx documentation built on March 14, 2024, 3:04 a.m.