Posts

Showing posts from November, 2015

Introduction to R (Download PDF)

Image
Download Link: https://drive.google.com/file/d/0B_HnjRcH9aTpNG10ME1raW0zdTA/view?usp=sharing (Click this link to download pdf) This PDF is a part of Introduction to R workshop conducted by Chris Bruno , Dason Kurkiewicz and Adam Loy from Department of Statistics, IOWA State University on 15 July 2010. Reference: http://streaming.stat.iastate.edu/workshops/r-intro/ Breakdown of chapters is as following: 1. Introduction 2. Data Management 3. Graphics 4. Models 5. Programming 6. Advanced Manipulations Reference: http://streaming.stat.iastate.edu/workshops/r-intro/lectures/ This post shares a downloadable PDF introduction to R from a statistics workshop, aimed at newcomers to the language. R is a free environment widely used for statistics, data analysis, and graphics. A guided introduction like this is a good starting point before moving on to packages such as ggplot2 and dplyr for visualization and data wrangling.

Plot histogram in RStudio using Shiny

Image
CODE: # '#' denotes a comment # install.packages("UsingR") uncomment if package is not installed library (UsingR) # install.packages("shiny") uncomment if package is not installed library (shiny) # install.packages("Hmisc") uncomment if package is not installed library (Hmisc) # install.packages("corrplot") uncomment if package is not installed library (corrplot) # getwd() gives the current directory where R looks up for files wd <- getwd() setwd(wd)