Casi di studio: creare applicazioni web con Shiny in R
Dean Attali
Shiny Consultant
library(colourpicker)colourInput("col", "Select a colour", 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 è una scelta comuneggplotly():ggplot2 a interattivop <- ggplot(gapminder, aes(gdpPercap, lifeExp)) + geom_point() + scale_x_log10()library(plotly)ggplotly(p)

plotly è una scelta comuneggplotly():ggplot2 a interattivop <- ggplot(gapminder, aes(gdpPercap, lifeExp)) + geom_point() + scale_x_log10()library(plotly)ggplotly(p)

plotly è una scelta comuneggplotly():ggplot2 a interattivop <- ggplot(gapminder, aes(gdpPercap, lifeExp)) + geom_point() + scale_x_log10()library(plotly)ggplotly(p)

plotly è una scelta comuneggplotly():ggplot2 a interattivop <- ggplot(gapminder, aes(gdpPercap, lifeExp)) + geom_point() + scale_x_log10()library(plotly)ggplotly(p)

plotOutput("plot")
renderPlot(ggplotly(p))
plotlyOutput("plot")
renderPlotly(ggplotly(p))
Casi di studio: creare applicazioni web con Shiny in R