Learn R Programming

HKRbook (version 0.1.3)

mmstat.getVariableNames: mmstat.getVariableNames

Description

Returns all variable names of data set stored in the internal environment.

Usage

mmstat.getVariableNames(name)

Value

vector of names

Arguments

name

character or numeric: name or index of data set

Examples

Run this code
# Delete all stored data sets
mmstat.set(datasets=NULL)
# Load CAR data set into mmstat
mmstat.getDataNames(mmstat.rds("CARS"))
# Extract names of all variables
mmstat.getVariableNames(1)

Run the code above in your browser using DataLab