Learn R Programming

RSurvey (version 0.6-0)

Rename: Rename Values in Character Vector

Description

A GUI for renaming values in a vector of character strings.

Usage

Rename(names = NULL, cur.name = NULL, win.title = NULL, 
       parent = NULL)

Arguments

names
character; a vector of character strings.
cur.name
character; sets the combobox value, name must be included in names (optional).
win.title
character; the title of the main window (optional).
parent
tkwin; the parent window (optional).

Value

  • Returns a character vector with updated values of names.

Examples

Run this code
Rename(names = c("Name1", "Name2", "Name3"), cur.name = "Name2")

Run the code above in your browser using DataLab