Learn R Programming

genvar (version 0.0.1.4)

describe: lists the names of the variables in the dataset

Description

lists the names of the variables in the dataset

Usage

describe(pattern = NULL)

Arguments

pattern

an optional regular expression which only returns variable names that match the expression

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*")
# }

Run the code above in your browser using DataLab