getStructure: Get structure of an R object

Description Usage Arguments Details Value Examples

Description

Designed for usage with implementations of the IDataFormat interface and methods IDataFormat$getStructure and IDataFormat$setStructure

Usage

1

Arguments

inst

A class instance.

Details

TODO

Value

See respective methods.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
# data.frame --------------------------------------------------------------

inst <- data.frame(a = 1, b = 2, c = 3)
getStructure(inst)

# list --------------------------------------------------------------------

inst <- list(a = 1, b = 2, c = 3)
getStructure(inst)

# character ---------------------------------------------------------------

inst <- letters
getStructure(inst)
names(inst) <- letters
getStructure(inst)

rappster/dataconr documentation built on May 26, 2019, 11:14 p.m.