https://github.com/hturner/shiny-demos
A set of shiny demos for teaching statistical modelling
https://github.com/hturner/shiny-demos
r shiny statistical-models teaching-materials
Last synced: 4 days ago
JSON representation
A set of shiny demos for teaching statistical modelling
- Host: GitHub
- URL: https://github.com/hturner/shiny-demos
- Owner: hturner
- Created: 2013-11-06T09:54:44.000Z (almost 12 years ago)
- Default Branch: main
- Last Pushed: 2025-03-06T15:17:49.000Z (7 months ago)
- Last Synced: 2025-04-12T02:13:17.458Z (6 months ago)
- Topics: r, shiny, statistical-models, teaching-materials
- Language: R
- Size: 1.17 MB
- Stars: 6
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# shiny-demos
A set of shiny demos for teaching statistical modelling
### Install Required Pacakges
The packages required by each app are as follows:
linreg
: RColorBrewer, scales, ISwR, MASS, shinytools, shinylinreg3
: MASS, shinypoisreg
: RColorBrewer, scales, shinytools, shinyAll packages are available on CRAN apart from `shinytools` which is part of this repository. The following code will install all required packages:
required <- c("RColorBrewer", "scales", "ISwR", "MASS", "devtools", "shiny")
notInstalled <- required[!(required %in% installed.packages()[, "Package"])]
install.packages(notInstalled)
library(devtools)
install_github("hturner/shiny-demos", subdir = "shinytools")
### Run the AppsOnce the required packages are installed you can run the apps directly from GitHub, e.g.
library(shiny)
runGitHub("shiny-demos", username = "hturner", subdir = "linreg/")
Alternatively you can download the source files and use `runApp` from the `shiny` package.