getStructure.character: Get structure of an R object

Description Usage Arguments Details Value Examples

Description

See generic: getStructure Method for: character

Usage

1
2
## S3 method for class 'character'
getStructure(inst)

Arguments

inst

character.

Details

TODO

Value

list. Results of calling attributes(inst).

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.