ggplotAssist: A shiny app for learn ggplot2

Description Usage Arguments Value Examples

View source: R/ggplotAssist.R

Description

A shiny app for learn ggplot2

Usage

1
ggplotAssist(df = NULL, viewer = "browser")

Arguments

df

A tibble or a tbl_df or a data.frame to manipulate

viewer

Specify where the gadget should be displayed. Possible choices are c("dialog","browser","pane")

Value

An R code for ggplot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
library(tidyverse)
library(rstudioapi)
library(miniUI)
library(moonBook)
library(shinyAce)
library(ggthemes)
library(shiny)
library(stringr)
library(editData)
library(shinyWidgets)
library(gcookbook)
library(shiny)
# Only run examples in interactive R sessions
if (interactive()) {
    result<-ggplotAssist(mtcars)
    result
}

cardiomoon/ggplotAssist documentation built on May 28, 2019, 7:14 p.m.