getRawStructure-list-method: Get Raw Structure (list)

Description Usage Arguments Value See generic Author(s) References See Also Examples

Description

Get Raw Structure (list)

Usage

1
2
## S4 method for signature 'list'
getRawStructure(input, ...)

Arguments

input

list.

...

Further arguments to be passed to subsequent functions/methods.

Value

RawObjectStructure.S3. A data.frame like representation of structural information with an additional class attribute.

See generic

getRawStructure

Author(s)

Janko Thyson [email protected]

References

http://github.com/rappster/listr

See Also

getRawStructure

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
## Not run: 

input <- list(
  x1 = list(x11 = list(x111 = 1, x112 = 1), x12 = list(x121 = 1, x122 = 1)),
  x2 = list(x21 = "x21"),
  x3 = list("x31"),
  x4 = "x4",
  x5 = list(1:3),
  list(list(1, 2), list(3, 4)),
  list(1:3),
  "char 1",
  "char 2",
  letters[1:3],
  c(1,3,5),
  TRUE,
  new.env(),
  data.frame(x = 1:3, y = 1:3)
)
getRawStructure(input)


## End(Not run)

rappster/listr documentation built on May 24, 2017, 7:32 p.m.