6 Final Words

We have finished a nice book.

RStudio Tip: There are two convenient ways to create a new app in RStudio:

  • Create a new directory and an app.R file containing a basic app in one step by clicking File | New Project, then selecting New Directory and Shiny Web Application.

  • If you’ve already created the app.R file, you can quickly add the app boilerplate by typing “shinyapp” and pressing Shift+Tab.

dplyr::glimpse(beaver1)
## Rows: 114
## Columns: 4
## $ day   <dbl> 346, 346, 346, 346, 346, 346, 346, 346, 346,…
## $ time  <dbl> 840, 850, 900, 910, 920, 930, 940, 950, 1000…
## $ temp  <dbl> 36.33, 36.34, 36.35, 36.42, 36.55, 36.69, 36…
## $ activ <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,…
dplyr::glimpse(beaver1)
## Rows: 114
## Columns: 4
## $ day   <dbl> 346, 346, 346, 346, 346, 346, 346, 346, 346,…
## $ time  <dbl> 840, 850, 900, 910, 920, 930, 940, 950, 1000…
## $ temp  <dbl> 36.33, 36.34, 36.35, 36.42, 36.55, 36.69, 36…
## $ activ <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,…