Learn R Programming

IPV (version 0.2.0)

rename_simple: Rename Simple

Description

Rename Simple

Usage

rename_simple(data, before, after, regex = FALSE)

Value

the same data with renamed values / variables

Arguments

data

IPV estimates (simple)

before

character; a vector of names to replace

after

character; a vector of replacement names

regex

logical; should items be renamed based on regular expressions for treatment of global section in nested data?; defaults to FALSE

Details

This function does not support regular expressions. Provide full names only.