Learn R Programming

genvar (version 0.0.2.0)

dropvar: drops variables in varlist format from the dataset

Description

drops variables in varlist format from the dataset

Usage

dropvar(x)

Arguments

x

a varlist in "var1 var2 var3" format or unquoted if a single variable

Value

returns NULL, invisibly

Examples

Run this code
# NOT RUN {
use(cars, clear=TRUE)
listif()
dropvar(speed)
listif()
# }

Run the code above in your browser using DataLab