Learn R Programming

RSurvey (version 0.9.3)

Rename: GUI: Rename Values in Character Vector

Description

A graphical user interface (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. Vector of character strings

cur.name

character. Sets the combo box value, name must be included in names.

win.title

character. String to display as the title of the dialog box.

parent

tkwin. GUI parent window

Value

Returns a character vector with updated values of names.

Examples

Run this code
# NOT RUN {
  Rename(names = c("Name1", "Name2", "Name3"), cur.name = "Name2")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab