Learn R Programming

MAPLES (version 1.0)

listvar: Shows variables in a dataframe.

Description

Shows variables in a dataframe and the related number of column.

Usage

listvar(df)

Arguments

df
is the dataframe.

Value

a dataframe with two columns: VAR containing the names of the variables and COL with the number of related column in the original dataframe.

Examples

Run this code
listvar(demogr)

Run the code above in your browser using DataLab