Studi Kasus: Membangun Aplikasi Web dengan Shiny di R
Dean Attali
Shiny Consultant
library(colourpicker)colourInput("col", "Pilih warna", value = "orange")

plotOutput(outputId, width = "100%", height = "400px",
click = NULL, dblclick = NULL, hover = NULL,
hoverDelay = NULL, hoverDelayType = NULL,
brush = NULL, clickId = NULL, hoverId = NULL,
inline = FALSE)
plotOutput("plot1", width = 200, height = 400)
plotOutput("plot2", width = 400, height = 200)

plotly adalah pilihan populerggplotly():ggplot2 ⇒ interaktifp <- ggplot(gapminder, aes(gdpPercap, lifeExp)) + geom_point() + scale_x_log10()library(plotly)ggplotly(p)

plotly adalah pilihan populerggplotly():ggplot2 ⇒ interaktifp <- ggplot(gapminder, aes(gdpPercap, lifeExp)) + geom_point() + scale_x_log10()library(plotly)ggplotly(p)

plotly adalah pilihan populerggplotly():ggplot2 ⇒ interaktifp <- ggplot(gapminder, aes(gdpPercap, lifeExp)) + geom_point() + scale_x_log10()library(plotly)ggplotly(p)

plotly adalah pilihan populerggplotly():ggplot2 ⇒ interaktifp <- ggplot(gapminder, aes(gdpPercap, lifeExp)) + geom_point() + scale_x_log10()library(plotly)ggplotly(p)

plotOutput("plot")
renderPlot(ggplotly(p))
plotlyOutput("plot")
renderPlotly(ggplotly(p))
Studi Kasus: Membangun Aplikasi Web dengan Shiny di R