Learn R Programming

genvar (version 0.0.2.0)

getdata: exports data frame from genvar environment to R environment

Description

Returns the data frame currently in the genvar environment. It is equivalent to calling listif(), but the name is not as intuitive to use for this purpose.

Usage

getdata()

Arguments

Value

the data frame currently in the genvar environment

Examples

Run this code
# NOT RUN {
use(cars, clear=TRUE)
getdata()
all(getdata() == listif())
# }

Run the code above in your browser using DataLab