MergeGUI: The Merging GUI. This function will start with an starting...

Description Usage Arguments Value Author(s) Examples

View source: R/mergeGUI.R

Description

The merging GUI consists of four tabs. In the preferences tab, user can choose whether the numerical p-values or the flag symbols are displayed in the summary tab; whether the y-scales are free for different data files when drawing the plots faceted by the sources. In the checking tab, each data file has a list of variable names, and the GUI will automatically arrange the order of variable names to align the same names in one row. The user can switch the order of the variables in one file's list. It is possible to undo, redo, or reset the matching. In the summary tab, there is a list of variable names on the left which corresponds to the checking tab. The misclassification rate, KS-test p-values and Chi-square test p-values for each variable may also be presented with the variable names. On the top right there are three buttons: Numeric summary, Graphical summary, and Dictionary. And the results could be shown below the buttons. For the graphical summary, histogram or barchart will be shown if a single variable is selected. A scatterplot will be drawn if two numeric or two factor varaibles are chosen. Side-by-side boxplots will be presented when one numeric and one factor varaibles are selected. A parallel coordinate plot is shown when all the variables selected are numeric and there are more than two variables. If more than two variables are chosen but the classes of the variables are mixed, i.e. some are numeric, some are factor or character, then histograms and barcharts will be drawn individually. All the plots are facetted by the source. In the export tab the user could select all or none variables by click the buttons or choose several varaibles by Ctrl+Click. Then the export button will export the merged data and the numeric summaries of the selected variables into two csv files.

Usage

1
MergeGUI(..., filenames = NULL, unit = TRUE, distn = TRUE, miss = TRUE)

Arguments

...

names of the data frames to read

filenames

A vector of csv file names with their full paths.

unit

whether the test of the difference among the group centers is on or off

distn

whether the test of the difference among the group distributions is on or off

miss

whether the test of the difference among the group missing patterns is on or off

Value

NULL

Author(s)

Xiaoyue Cheng <xycheng@iastate.edu>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
if (interactive()) {
    MergeGUI()
    
    csvnames = list.files(system.file("doc", package = "MergeGUI"), 
        pattern = "\\.csv$")
    files = system.file("doc", csvnames, package = "MergeGUI")
    MergeGUI(filenames = files)
    
    data(iris)
    setosa = iris[iris$Species == "setosa", 1:4]
    versicolor = iris[iris$Species == "versicolor", 1:4]
    virginica = iris[iris$Species == "virginica", 1:4]
    MergeGUI(setosa, versicolor, virginica)
}

MergeGUI documentation built on May 2, 2019, 6:45 a.m.