-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathui.R
More file actions
27 lines (19 loc) · 956 Bytes
/
Copy pathui.R
File metadata and controls
27 lines (19 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
library(shiny)
library(shinythemes)
library(dplyr)
require(markdown)
library(tm)
shinyUI(navbarPage("Coursera Data Science Capstone - Text Prediction",
theme = shinytheme("spacelab"),
#Tab 1
tabPanel(p(icon("calculator"), "Next word prediction"),
textInput("user_input", "Please enter text for next word prediction:", value = ""),
tags$hr(),
h4("Prediction 1"),
textOutput("guess1"),
h4("Prediction 2"),
textOutput("guess2"),
h4("Prediction 3"),
textOutput("guess3")
)
))