abstract: Abstract an R Object

Description Usage Arguments Examples

Description

A simple function to "abstract" an R object into the R code which would produce it. A simple wrapper around base::dump().

Usage

1

Arguments

x

An R object

Examples

1
2
3
df <- data.frame(index=1:5, x=rnorm(5))
df
abstract(df)

wrathematics/lptools documentation built on May 4, 2019, 10:52 a.m.