Skip to content

Instantly share code, notes, and snippets.

View harryprince's full-sized avatar
💭
I may be slow to respond.

HarryZhu harryprince

💭
I may be slow to respond.
  • Mobike
  • Jilin University of Finance and Economics
View GitHub Profile
@harryprince
harryprince / README.md
Created June 2, 2016 23:46 — forked from yihui/README.md
A Shiny app based on annyang that responds to voice input

See https://yihui.shinyapps.io/voice for the live demo. Make sure you have turned on your microphone and allow the web browser to have access to it. Credits go to annyang and also to @wch for showing me a minimal Shiny example. You can do four things on the scatterplot using your voice input:

  • say "title something" to change the plot title, e.g. title good morning
  • say "color a color name" to change the color, e.g. color blue
  • say "bigger" or "smaller" to change the size of points
  • say "regression" to add a linear regression line