Learn R Programming

Laurae (version 0.0.0.9001)

interactive.eda_ggplot: Interactive Dashboard for Exploratory Data Analysis (ggplot)

Description

This function runs an interactive dashboard which allows to explore data in a WYSIWYG (What You See Is What You Get). It uses automated variable detection along with smart automated plotting, which eases the task for data exploration.

Usage

interactive.eda_ggplot(data, p_back = "red", f_back = "red",
  side_width = 300, max_height = 820)

Arguments

data
Type: data.table (preferred) or data.frame. The data you want to explore. Using a data.table allows to avoid copying in-memory when switching datasets.
p_back
Type: character. A background color character for the plot frame. Defaults to "red".
f_back
Type: character. A background color character for the header. Defaults to "red".
side_width
Type: numeric. The width of the sidebar containing variable names. Defaults to 300.
max_height
Type: numeric. The maximum height for the plots. Defaults to 820, which fits nicely Full HD screens (820 vertical pixels).

Value

Nothing

Details

Plotting is done using plotluck, which must be loaded along ggplot2. The colors (p_back) allowed are the following:
red
red color
yellow
yellow color
aqua
aqua color
blue
blue color
light-blue
light-blue color
green
green color
navy
navy color
teal
teal color
olive
olive color
lime
lime color
orange
orange color
fuchsia
fuchsia color
purple
purple color
maroon
maroon color
black
black color
The colors (header: f_back) allowed are the following:
blue
blue color
black
black color
purple
purple color
green
green color
red
red color
yellow
yellow color

Examples

Run this code
## Not run: ------------------------------------
# library(shiny)
# library(shinydashboard)
# library(ggplot2)
# library(plotluck)
# library(datasets)
# data(faithful)
# interactive.eda_ggplot(data = faithful,
#                        p_back = "red",
#                        f_back = "red",
#                        side_width = 300,
#                        max_height = 820)
## ---------------------------------------------

Run the code above in your browser using DataLab