Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to deploy to shinyapps.io

library(shiny)
library(ggplot2)

dataset <- diamonds

fluidPage(

  titlePanel("Diamonds Explorer"),

  sidebarPanel(

    sliderInput('sampleSize', 'Sample Size', min=1, max=nrow(dataset),
                value=min(1000, nrow(dataset)), step=500, round=0),

    selectInput('x', 'X', names(dataset)),
    selectInput('y', 'Y', names(dataset), names(dataset)[[2]]),
    selectInput('color', 'Color', c('None', names(dataset))),

    checkboxInput('jitter', 'Jitter'),
    checkboxInput('smooth', 'Smooth'),

    selectInput('facet_row', 'Facet Row', c(None='.', names(dataset))),
    selectInput('facet_col', 'Facet Column', c(None='.', names(dataset)))
  ),

  mainPanel(
    plotOutput('plot')
  )
)
Comment

PREVIOUS NEXT
Code Example
Python :: convolutional layer of model architecture pass input_shape 
Python :: comment on inclut date et heure en python svp 
Python :: daemon in os 
Python :: showing typle results with for loop in py 
Python :: if statement in python with sets 
Python :: while loop choosing numbers 
Python :: init matrix in numpy 
Python :: python how to make item assignemnt class 
Python :: plotly change marker symboly sequence 
Python :: is 2 an even number 
Python :: Groupby geek link 
Python :: how to print using .sh file from python 
Python :: Generators 
Python :: print("ola") 
Python :: python remove title from name 
Python :: how to make python faster 
Python :: python geopandas read layer from gdb 
Python :: set colour to inserplaintext qtextedit in python 
Python :: shorthand python if 
Python :: generator expressions python 
Python :: who is bayceee roblox id 
Python :: def square_odd(pylist) 
Python :: hackereath 
Python :: inspect first 5 rows of dataframe 
Python :: fibbonacci python 
Python :: pandas continues update csv 
Python :: parsing a file and adding a number at starting of every line sentence python 
Python :: sum of values with none 
Python :: python paragraph Pypi 
Python :: django-filter field name greater than 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =