KKher
28/08/2020
I intend by this App to show the capacity of Shiny App.
data used is mtcars dataset, it is built-in RStudio. mtcars data comes from the 1974 Motor Trend magazine. The data includes fuel consumption data, and ten aspects of car design for then-current car models.
What User can do
library(shiny)
data("mtcars")
library(plotly)
library(ggplot2)
mtcars$cyl <- as.factor(mtcars$cyl)
p <- ggplot(mtcars, aes(x=cyl, y=mpg, fill=am)) +
geom_dotplot(binaxis='y', stackdir='center',
stackratio=1.5, dotsize=1.2, stroke=1,
position=position_dodge(0.8))
p
g <- ggplot(mtcars, aes(x=wt,y=mpg)) +
labs(y = "Milage per Gallon", x = "Weight", main = "mtcars Data") +
geom_point()
g
My application can be tried and found through this link