Home
Add Document
Sign In
Create An Account
Dean Aali
Download PDF
Comment
Report
1 Downloads
196 Views
BUILDING WEB APPLICATIONS IN R WITH SHINY: CASE STUDIES
Word clouds in Shiny Dean A!ali
Shiny Consultant
Building Web Applications in R with Shiny: Case Studies
Word clouds ●
Visual representation of text
●
BIG WORDS = COMMON, small words = rare
Building Web Applications in R with Shiny: Case Studies
Word clouds in R - function Created by your friend: create_wordcloud(data, num_words = 100, background = "white")
●
data: text to use in word cloud ●
Single string: data = “Some very long story”
●
List of strings: data = c(“Some very”, “long story”)
●
num_words: maximum number of words
●
background: background colour
Building Web Applications in R with Shiny: Case Studies
Word clouds in R - usage us_constitution str(input$time_of_day) chr "Afternoon"
time of day", "Morning", "Afternoon", "Evening"),
Building Web Applications in R with Shiny: Case Studies
Conditional panels ●
Show/hide UI elements based on input value
conditionalPanel(condition, ...)
●
condition is similar to R code, but input$ is replaced by input.
●
... is any UI
Building Web Applications in R with Shiny: Case Studies
Conditional panels ui
Recommend Documents
Dean Aali
Dean Aali
Dean Aali
DEAN TRAILERS DEAN TRAILERS DEAN TRAILERS DEAN ...
dean trailers dean trailers dean trailers dean trailers trailers dean ...
Dean Michael
×
Report Dean Aali
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
×
Sign In
Email
Password
Remember me
Forgot password?
Sign In
Login with Facebook
Our partners will collect data and use cookies for ad personalization and measurement.
Learn how we and our ad partner Google, collect and use data
.
Agree & Close