ShinyApp Pitch for “Basic Introduction to ggplot2”

author: M Zunnurain Hussain using R version 3.6.1 (2019-07-05) and knitr version 1.25 date: September 23, 2019 transition: rotate incremental: true

Why is the ShinyApp “Basic Introduction to ggplot2” needed?

Who needs this ShinyApp?

ggplot_command = sprintf("g = ggplot(mpg, aes(x=%s, y=%s, colour=%s)) + facet_wrap(~%s) + geom_%s()",
                             input$x, input$y, input$colour, input$facet_wrap, input$geom)
    eval(parse(text=ggplot_command))

Example Command and Plot Generated by the ShinyApp “Basic Introduction to ggplot2”

## Loading required package: ggplot2
g = ggplot(mpg, aes(x=cyl, y=hwy, colour=class)) + facet_wrap(~drv) + geom_point()

Try the ShinyApp “Basic Introduction to ggplot2” Today!