Rename: GUI: Rename Values in Character Vector

Description Usage Arguments Value Author(s) Examples

Description

A graphical user interface (GUI) for renaming values in a vector of character strings.

Usage

1
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.

Author(s)

J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center

Examples

1
2
3
4
## Not run: 
  Rename(names = c("Name1", "Name2", "Name3"), cur.name = "Name2")

## End(Not run)

USGS-R/RSurvey documentation built on May 9, 2019, 6:10 p.m.