Levi Brackman
March 29, 2016
My Shiny app has three main aims:
flips <- sample(c(0,1), 1000, replace = TRUE, prob = c(0.5, 0.5))
flips<-as.data.frame(flips)
flips$flips[flips$flips==1] <- 2
flips$flips[flips$flips==0] <- 1
unfairflips <- sample(c(0,1), 1000, replace = TRUE, prob = c(0.3, 0.7))
unfairflips<-as.data.frame(unfairflips)
unfairflips$flips[unfairflips$unfairflips==1] <- 2
unfairflips$flips[unfairflips$unfairflips==0] <- 1
This presentation has been about the Law of Large Numbers Shiny app and included the following:
The code that powers the app
The app itself allows the following