switchdata: switches data sets among the datasets you have in memory

Description Usage Arguments Value Examples

Description

switches data sets among the datasets you have in memory

Usage

1
switchdata(name = "last", clear = FALSE)

Arguments

name

Name of the dataset to switch to. The name "last" is reserved for the last dataset loaded (default: last)

clear

If TRUE, erase the currently loaded dataset. If FALSE, make the current dataset the new "last". (default: FALSE)

Value

returns NULL invisibly

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
use(cars, clear=TRUE)
namedata("cars", clear=TRUE)
library(plm)
data(Produc)
use(Produc, clear=TRUE)
listif()
switchdata("cars")
listif()
switchdata()
listif()
listdata()

genvar documentation built on Jan. 21, 2020, 9:07 a.m.