R PROGRAMMING Training
R is a free programming language and software environment for statistical computing and graphics. The R language is widely used among statisticians and data miners for developing statistical software and data analysis. R is an implementation of the S programming language combined with lexical scoping semantics inspired by Scheme.S was created by John Chambers while at Bell Labs. There are some important differences, but much of the code written for S runs unaltered. R was created by Ross Ihaka and Robert Gentleman at the University of Auckland, New Zealand, and is currently developed by the R Development Core Team, of which Chambers is a member. R is named partly after the first names of the first two R authors and partly as a play on the name of S. The project was conceived in 1992, with an initial version released in 1994 and a stable beta version in 2000
INTRODUCTION TO R
- History of R
- Features of R
- SAS versus R
- S and S-pus
- Obtaining and managing R
- Instaing R
- Packages
- Input/output
- R interfaces
- R ibrary
FUNCTIONS AND R PROGRAMMING
- Data Types
- Factors
- Numbers
- Attributes
- Entering Inputs
- Evauation
- Printing
- Missing Objects
- Expicit Coercion
- Data Frame
- Objects
DATA MANAGEMENT
- Reading Data
- Writing data
- Reading data files with tables
- Files connection
- Reading lines of Text files
SORTING DATA
- MERGING DATA
- AGGREGATING DATA
- RESHAPING DATA
CONTROL STRUCTURES
- If
- For
- Repeat
- Next
- Return
WRITING FUNCTIONS
FUNCTION ARGUMENTS AND OPTIONS
LOOPS
- Lappy
- Tappy
- Split
- Mappy
- Apply
DATE AND TIME IN R
- Dates in R
- Times in R
- Operation on Dates and Time on R
GRAPHICS AND PLOTTING USING R
BASIC PLOTTING
- Creating a graph
- Density Pot
- Dot Pot
- Bar Pot
- ine charts
- Pie charts
- Box po
- Scatter Pot
- istogram
- Norma
ADVANCE PLOTTING
- Graphical Parameters
- Lattice graphs
- Combining Plot
- Ggplots graph
- Probability graphs
- Correlograms
SAVING PLOTS
SDEBUGGING TOOLS
- Trace
- Debug
- Recover
DEBUGGING TOOLS
- Creating Random Numbers
- Generating Random Numbers
- Random Sampling