knitr::opts_chunk$set(echo = TRUE)
The easiest way to install the betadistapp
package is from Github. This requires installing the devtool
package first.
install.packages("devtools")
Then load the devtool
package:
library(devtools)
In order to install (or update) the STOCfree package, run the following line:
install_github("AurMad/betadistapp")
shiny_beta()
functionThe package contains a single function called shiny_beta()
. This function launches a shiny app. The user can specifiy either the mean and standard deviations of a Beta distributions using sliding bars. The corresponding Beta distributions will be plotted and the corresponding alpha and beta parameters will be displayed. The used can also enter the alpha and beta paramters which will lead to the corresponding distribution being displayed.
library(betadistapp) shiny_beta()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.