Professional Documents
Culture Documents
R environment
R is an open source environment for statistical computing An Integrated environment for data manipulation, calculation and graphical output R is also a dynamic and object-oriented programming language Standard install consists of around 30 core packages that cover most common statistical and other tasks CRAN contains over 4000 contributed packages and it is growing
R , RStudio installation
Both R and RStudio are available in Windows, Mac, unix and Linux R installation instruction : http://cran.rproject.org/doc/manuals/R-admin.html Rstudio is a free open source IDE for R, we will be using Rstudio for this tutorial RStudio can be downloaded from http://rstudio.org/download/
R as an object-oriented language
Everything is an Object in R A brief look at an R program Calling R programs in batch mode R functions and packages http://www.r-bloggers.com/create-an-r-packagein-under-6-minutes/ Calling R from other languages R Programming Model Parallel R
R Graphics
graphics, lattice and grid packages graphics Package charts: barplot,dot chart,histogram,density plots,strp charts, quantile plots, scatter plots, image plots, contour plots, interaction plots, sunflower plots Lattice splits a chart into different panels or groups , making multiple plots on same page easy
Statistical computing
Data Analysis : Summary, Correlation, principal Component Analysis, Factor Analysis Time Series Probablity Distributions Statistical tests Regression Models Classification Models Clustering
quantmod package
A rapid prototyping environment, where quant traders can quickly and cleanly explore and build trading models. Quantmod example on data handling Quantmod example on charting Quantmod example on modelling For more : www.quantmod.com/examples/