Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
4Activity

Table Of Contents

1 Introduction
1.1 What is R?
1.2 The R environment
1.3 Obtaining and installing R
1.4 Your first R session
1.5 The available help
1.5.1 The on line help
1.5.2 The R mailing lists and the R Journal
1.6 The R workspace, managing objects
1.7 R Packages
1.8 Conflicting objects
1.9 Editors for R scripts
1.9.1 The editor in RGui
1.9.2 Other editors
2 Data Objects
2.1 Data types
2.1.1 Double
2.1.2 Integer
2.1.3 Complex
2.1.4 Logical
2.1.5 Character
2.1.6 Factor
2.1.7 Dates and Times
2.1.8 Missing data and Infinite values
2.2.1 Vectors
2.2.2 Matrices
2.2.5 Time-series objects
2.2.6 Lists
2.2.7 The str function
3 Importing data
3.1 Text files
3.1.1 The scan function
3.2 Excel files
3.3 Databases
3.4 The Foreign package
4 Data Manipulation
4.1 Vector subscripts
4.2 Matrix subscripts
4.3 Manipulating Data frames
4.3.1 Extracting data from data frames
4.3.2 Adding columns to a data frame
4.3.3 Combining data frames
4.3.4 Merging data frames
4.3.5 Aggregating data frames
4.3.6 Stacking columns of data frames
4.3.7 Reshaping data
4.4 Attributes
4.5 Character manipulation
4.5.1 The functions nchar, substring and paste
4.6 Creating factors from continuous data
5 Writing functions
5.1 Introduction
5.2 Arguments and variables
5.2.1 Required and optional arguments
5.2.2 The ‘...’ argument
5.2.3 Local variables
5.2.4 Returning an object
5.2.5 The Scoping rules
5.2.6 Lazy evaluation
5.3 Control flow
5.3.1 Tests with if and switch
5.3.2 Looping with for, while and repeat
5.4 Debugging your R functions
5.4.1 The traceback function
5.4.2 The warning and stop functions
5.4.3 Stepping through a function
5.4.4 The browser function
6 Efficient calculations
6.1 Vectorized computations
6.2 The apply and outer functions
6.2.1 the apply function
6.2.2 the lapply and sapply functions
6.2.3 The tapply function
6.2.4 The by function
6.2.5 The outer function
6.3 Using Compiled code
6.3.1 The .C and .Fortran interfaces
6.3.2 The .Call and .External interfaces
6.4 Some Compiled Code examples
6.4.1 The arsim example
6.4.2 Using #include <R.h>
creasing vectors
6.4.3 Evaluating R expressions in C
7 Graphics
7.1 Introduction
7.2 More plot functions
7.2.1 The plot function
7.2.2 Distribution plots
7.2.3 Two or more variables
7.2.4 Graphical Devices
7.3 Modifying a graph
7.3.1 Graphical parameters
7.3.2 Some handy low-level functions
7.3.3 Controlling the axes
7.4 Trellis Graphics
7.4.1 Introduction
7.4.2 Multi panel graphs
7.4.3 Trellis panel functions
7.4.4 Conditioning plots
7.5 The ggplot2 package
7.5.1 The qplot function
7.5.2 Facetting
7.5.3 Plots with several layers
8 Statistics
8.1 Basic statistical functions
8.1.1 Statistical summaries and tests
8.1.2 Probability distributions and random numbers
8.2 Regression models
8.2.1 Formula objects
8.3 Linear regression models
8.3.1 Formula objects
8.3.2 Modeling functions
8.3.3 Multicollinearity
8.3.4 Factor (categorical) variables as regression variables
8.4 Logistic regression
8.4.1 The modeling function glm
8.4.2 Performance measures
8.4.3 Predictive ability of a logistic regression
8.5 Tree models
8.5.1 An example of a tree model
8.5.2 Coarse classification and binning
8.6 Survival analysis
8.6.1 The Cox proportional hazards model
8.6.2 Parametric models for survival analysis
8.7 Non linear regression
8.7.1 Ill-conditioned models
8.7.2 Singular value decomposition
9 Miscellaneous Stuff
9.1 Object Oriented Programming
9.1.1 Introduction
9.1.2 Old style classes
9.1.3 New Style classes
9.2 R Language objects
9.2.1 Calls and Expressions
9.2.2 Expressions as Lists
9.2.3 Functions as lists
9.3 Calling R from SAS
9.3.1 The call system and X functions
9.4.2 Starting R
9.5 Creating an R package
9.5.1 A ‘private’ package
9.5.2 A ‘real’ R package
9.6 Calling R from Java
9.7 Creating fancy output and reports
9.7.2 An simple HTML report
0 of .
Results for:
No results containing your search query
P. 1
Lam Introduction Tor LHL

Lam Introduction Tor LHL

Ratings: (0)|Views: 151 |Likes:
Published by Salim Ergene

More info:

Published by: Salim Ergene on Oct 03, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

12/04/2012

pdf

text

original

You're Reading a Free Preview
Pages 5 to 28 are not shown in this preview.
You're Reading a Free Preview
Pages 33 to 34 are not shown in this preview.
You're Reading a Free Preview
Pages 39 to 65 are not shown in this preview.
You're Reading a Free Preview
Pages 70 to 194 are not shown in this preview.
You're Reading a Free Preview
Pages 199 to 212 are not shown in this preview.

Activity (4)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
hangga_kurnia liked this
Ivan Aliaga liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->