make an analytics dashboard in R