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

Description Usage Arguments Details Value Examples

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

1
2
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).

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

Value

Nothing

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## 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)

## End(Not run)

Laurae2/Laurae documentation built on May 8, 2019, 7:59 p.m.