Skip to content

Instantly share code, notes, and snippets.

@masaha03
Created November 10, 2012 03:16
Show Gist options
  • Save masaha03/4049699 to your computer and use it in GitHub Desktop.
Save masaha03/4049699 to your computer and use it in GitHub Desktop.
Shiny UI
library(shiny)
shinyUI(pageWithSidebar(
headerPanel("株価"),
sidebarPanel(
numericInput("code", "code:", 6758),
textInput("since", "since:", as.character(Sys.Date()-60)),
textInput("date.end", "date.end:", as.character(Sys.Date())),
selectInput("time.interval", "time.interval:",
choices = c("daily", "weekly", "monthly"))
),
mainPanel(
plotOutput("plot")
)
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment