| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.

View
 

IntroBegR

Page history last edited by hoffman.tricia@gmail.com 9 years, 2 months ago

 

 

Here is the Lecture:

BeginningR  

 

Here is the code from the examples:

MyFirstRLesson

ComparisonControl

UserDefnFunction

 

Here is code for you to explore:

ExploreParkinson  Notice that the first colm is just the Subject Identifier which should be a factor.

                           This code turns that colm into a factor

NewPackage         This shows how to load in a new package

 

 

Data files needed to run the .r code:

filter50HzNotch.txt

filter60HzNotchblanks.txt

matrixletters.csv

myfirstdata.csv

ProstateCancerDataESL.csv

 

 

 

To run the plot demo:

library(help="graphics")
#This will show you several graphics functions
#press the Enter key to move to each new graph
demo(graphics)

 

This is a lesson on regression and cross validation:

Regression Lecture

RegressionExamples

 

 

Here are more r functions to explore:

 

 - cbind:  add a column of data to an existing structure

 - rbind:  add a row of data to an existing strucutre

 - grep, grepl:  finding things in data structures

 - gsub:  replacing data elements

 - subset:  taking just a piece of a data strucuture, conditionally

 - plyr()

 - ddplyr()

 - subset()

 - melt()

 - xtable()

 

More Packages to explore:

ggplot2

trellis

 

 

 

Another data structure to explore is lists

 

Here are some interesting Packages to investigate:

 

   caret     Classification and Regression Training

e1071       Misc Functions of the Department of Statistics (e1071), TU Wien

 

 

 

Comments (0)

You don't have permission to comment on this page.