RStudio is OPEN Source!!! - Download for FREE here!!!

An Introduction to R

An Introduction to R - Summary Slides

Summary Slides Companion .RData data set files

Section 1.10: lecture1.R

Sections 2.2 & 2.4: psl.rawsold.response.RData

Chapters 4-12: psl.rawsold.RData

Trellis Display (Lattice Graphics Package) User's Manual

Trellis Display (lattice Graphics Package) PSL Slideshow Companion to User's Manual

psl.rawsold.RData PSL data set companion to Trellis slide show

To open a SAS data set in R run the following commands:

install.packages("Hmisc") #Only needs to be run once on any particular machine

library(Hmisc) #Needs to be run for each and every new R session

labData <- sasxport.get("labData.XPT") #Character variables are converted to R factors.

#This code was found here

R-Code Essential Commands:

getwd()

setwd(dir)

attach(dataset)

summary()

c()

matrix()

install.packages("lattice")

library(lattice)

subset(dataset, subset = 'desired subset')

tapply(numeric, factor, function)

...