rename: renames variables in the dataset

Description Usage Arguments Value Examples

Description

renames variables in the dataset

Usage

1
rename(var, newvar)

Arguments

var

the name of the variable to rename

newvar

the new name of the variable

Value

returns NULL, invisibly

Examples

1
2
3
4
use(cars, clear=TRUE)
listif()
rename("speed","velocity")
listif()

flynnzac/rata documentation built on Jan. 24, 2021, 6:02 a.m.