- 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.
- 網(wǎng)絡(luò)教育學(xué)習(xí)指導(dǎo)
- OpenLayers Cookbook
- Windows Server 2003 Active Directory Design and Implementation: Creating, Migrating, and Merging Networks
- SSL VPN : Understanding, evaluating and planning secure, web/based remote access
- 電力物聯(lián)網(wǎng)工程技術(shù)原理與應(yīng)用
- Kong網(wǎng)關(guān):入門(mén)、實(shí)戰(zhàn)與進(jìn)階
- 4G小基站系統(tǒng)原理、組網(wǎng)及應(yīng)用
- 網(wǎng)絡(luò)綜合布線(第2版)
- 云工廠:開(kāi)啟中國(guó)制造云時(shí)代
- Qt5 Python GUI Programming Cookbook
- Professional Scala
- 趣話通信:6G的前世、今生和未來(lái)
- 網(wǎng)絡(luò)攻防技術(shù)與實(shí)踐
- iOS 12 Programming for Beginners
- 云存儲(chǔ)安全實(shí)踐