Select Data Dialog Function
DESCRIPTION:
This function is used by the Select Data dialog. It provides users with a
convenient starting point for selecting data to analyze.
USAGE:
menuSelectData(data.source, existing.name, new.name)
REQUIRED ARGUMENTS:
- data.source
-
character string indicating source for data. May be "Existing Data",
"New Data", or "Import File".
- existing.name
-
character string giving name of existing data object. Only used if
data.source
is "Existing Data".
- new.name
-
character string giving name for new data frame. Only used if
data.source
is "New Data".
VALUE:
none
SIDE EFFECTS:
If
data.source
is "Existing Data" the data frame names
existing.name
is
displayed. If
data.source
is "New Data" a new data frame with the name
new.name
is created. If
data.source
is "Import File" the Import Data
dialog is displayed.
EXAMPLES:
menuSelectData("Existing Data","fuel.frame")
menuSelectData("Import File")