Tuesday, November 24, 2015

Introduction to R (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.


Breakdown of chapters is as following:

1. Introduction
2. Data Management
3. Graphics
4. Models
5. Programming
6. Advanced Manipulations

Friday, November 20, 2015

Plot histogram in RStudio using Shiny

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)