Learn R Programming

genvar (version 0.0.2.0)

describe: lists the names of the variables in the dataset

Description

lists the names of the variables in the dataset

Usage

describe(pattern)

Arguments

pattern

an optional regular expression which only returns variable names that match the expression. Can be unquoted if it is just a variable name.

Value

A vector of names of variables with an attribute called "type" giving the types of the variables. The class of the object is "varlist".

Examples

Run this code
# NOT RUN {
use(cars, clear=TRUE)
describe()
describe("s*")
describe(speed)
# }

Run the code above in your browser using DataLab