- Web Application Development with R Using Shiny(Third Edition)
- Chris Beeley Shitalkumar R. Sukhdeve
- 149字
- 2021-07-16 17:52:11
Widget types
Before we move on to a more advanced application, let's have a look at the main widgets that you will make use of within Shiny. I've built a Shiny application that will show you what they all look like, as well as their outputs and the type of data they return. To run it, just enter the following command:
> library(shiny)
runGist(6571951)
This is one of the several built-in functions of Shiny that allow you to run code hosted on the internet. Details about sharing your own creations in other ways are discussed in Chapter 9, Persistence, Storage, and Sharing. The finished application looks like the following screenshot:
You can see the function names (checkboxGroupInput and checkboxInput) as numbered entries on the left-hand side of the panel; for more details, just type ?checkboxGroupInput into the console.
If you're curious about the code, it's available at gist.github.com/ChrisBeeley/6571951.
- 物聯網工程規劃技術
- 電子政務效益的經濟分析與評價
- 物聯網信息安全
- Drush User’s Guide
- HTML5 Game development with ImpactJS
- Mastering TypeScript 3
- Yii Application Development Cookbook(Second Edition)
- Learning Swift(Second Edition)
- C/C++串口通信:典型應用實例編程實踐
- jQuery Mobile Web Development Essentials
- 物聯網場景設計與開發(初級)
- 網絡AI+:2030后的未來網絡
- Practical Web Penetration Testing
- Learning Node.js Development
- TCP/IP基礎(第2版)