Ganesh Sethuraman
Sun1 Jul 26 18:52:38 2015
An Approach to visualize any data set under the sky, this provides an easy to select and visualize data set. Also provides a way to do Coin toss predictions.
It is important to visualize data set to make any meaning prediction or discovery. The time series data are hard to visualize, this shiny apps help us solve this problem.
https://my-viz.shinyapps.io/viz_google_selector URL to look at the app
Input Controls
Output Control
library(WDI)
library(googleVis)
M <- gvisMotionChart(Fruits, "Fruit", "Year", options = list(width=600,height=400))
plot(M)
This opens up a sea of options on what we can do with this
This is simple prediction function, which uses a random function for predictions, given a seed value.
predictToss <- function(seed=1000){
set.seed(seed)
t <- sample(c(1:2),1)
if (t == 1)
"HEADS"
else
"TAILS"
}
# Let us test this code
predictToss(1234)
[1] "HEADS"
Input Controls
Output