Description Usage Arguments Value Examples
A shiny app for learn ggplot2
1 | ggplotAssist(df = NULL, viewer = "browser")
|
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") |
An R code for ggplot
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
}
|
── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ──
✔ ggplot2 3.3.2 ✔ purrr 0.3.4
✔ tibble 3.0.4 ✔ dplyr 1.0.2
✔ tidyr 1.1.2 ✔ stringr 1.4.0
✔ readr 1.4.0 ✔ forcats 0.5.0
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag() masks stats::lag()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.