recode.vars: Recode variable names.

View source: R/recode.vars.R

recode.varsR Documentation

Recode variable names.

Description

Recode variable names.

Usage

recode.vars(data, oldvalue, newvalue)

Arguments

data

The vector of variable names to be recoded

oldvalue

A vector containing the latent variable names used internally.

newvalue

A vector containing the observed variable names, either provided by the user (as a header) or provided by R (e.g., V1, V2).

Value

Recoded vector of variable names.


gimme documentation built on Aug. 30, 2023, 1:08 a.m.