Learn R Programming

RSurvey (version 0.9.3)

Search: GUI: Search Data Table

Description

A graphical user interface (GUI) for establishing find and replace arguments in a data table.

Usage

Search(is.replace = FALSE, defaults = NULL, parent = NULL)

Arguments

is.replace

logical. If true, the replace component is included.

defaults

list. See ‘Value’ section

parent

tkwin. GUI parent window

Value

Returns an object of list class with the following components:

find.what

string to search for

replace.with

replacement string

is.match.word

indicates whether matches be restricted to whole words only.

is.match.case

indicates whether the search is case sensitive.

is.reg.exps

if true, the search is made using regular expression; that is, a pattern that describes a set of strings.

is.search.col

indicates whether the search is limited to a single column.

is.perl

indicates whether Perl style regular expressions should be used.

is.replace.first

indicates whether to replace for only the first instance.

is.search.sel

indicates whether the search limited to selected cells.

Examples

Run this code
# NOT RUN {
  Search()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab