Learn R Programming

tourrGui (version 0.2)

gui_density: Density Tour GUI...

Description

Density Tour GUI Displays a Density Tour GUI

Usage

gui_density(data = flea, ...)

Arguments

data
matrix, or data frame containing numeric columns, defaults to flea dataset
...
other arguments passed on to animate and display_xy

Details

GUI allows users to control the density tour by simply moving and clicking their mouses. Variable Selection checkboxes contains all the numeric variables, and at least two of them need to be checked to make the display work. the categorical variables go to the Class Selection box. We should select the class variable by double clicking the variable names. users specify the class variable, the observations will be considered as different classes according to this variable, and these will appear as rainbow colors in the rug segments. Tour Type radio buttons contains four different tour types. They are the Grand Tour, Little Tour, Local Tour and Guided Tour. We can choose one type a time. For the Guided Tour, we need to choose an index from the droplist to specify which particular search type is desired. default index would be holes. For tour type Guided(lda_pp) and Guided(pda_pp), we also need to specify class variable first, and the Guided(pda_pp) also controlled by another parameter, lambda. Lambda ranges from 0 to 1, with default at 0.02. A value of 0 will make the tour operate like Guided(lda_pp). high-dimensional data a value closer to 1 would be advised. Method Type radio buttons contains three different display methods. They are histogram, density plot and ash plot. distribution of data projected into 1d can be displayed correspondingly as a histogram, kernel density estimate and average shifted histogram. Axes Locations column contains two choices, TRUE and FALSE. TRUE means the tour will center at the middle of x-axes, means the tour will wander to the left and right. The default value is TRUE. Speed slider can control the speed of the 1D tour. Simply dragging the mouse along the slider, changes the speed from slow to fast. Pause check box allow users to pause the dynamic 1D tour and have a close examination on the details. Apply button allows users to update the 1D tour, when it doesn't automatically update. Quit button allows users to close thie GUI window. Help button provides information about the tour and also what this GUI can do. will pop up when the mouse is moved over the GUI, which give hints about the functionality of the different GUI elements.

Examples

Run this code
gui_density(flea)

Run the code above in your browser using DataLab