A very short introduction to R - PowerPoint PPT Presentation

About This Presentation
Title:

A very short introduction to R

Description:

A very short introduction to R Pia Wohland R is A statistical software Programming language -Free! -Very good in handling and manipulating data sets -very ... – PowerPoint PPT presentation

Number of Views:39
Avg rating:3.0/5.0
Slides: 11
Provided by: geop9
Category:

less

Transcript and Presenter's Notes

Title: A very short introduction to R


1
A very shortintroduction to R
Pia Wohland
2
  • R is
  • A statistical software
  • Programming language
  • -Free!
  • -Very good in handling and manipulating data sets
  • -very comprehensive, easy to learn
  • -large community, with many contributors
  • -well supported mailing list
  • -additinal packages written by users
  • Works with command line
  • but some graphical user interfaces (GUI)
    available
  • R-Commander, Rpad, SciViews-R
  • Info on R
  • http//www.r-project.org/

3
Create your own functions See an example in the
Practical this afternoon!
Maps
Graphics
http//addictedtor.free.fr/graphiques/
Manage your data
Statistics
4
R under windows
gt Command prompt
5
You can type your commands directly at the
command prompt (gt) or you can use the Editor
window. The advantage of the editor is, you can
save your script straight away.
6
Help youRself....
gt help() opens
help gt help.start()
opens R-Documentation in a browser window gt
help(command) shows help on
command gt ?command shows
help on command gt library()
Shows which packages are loaded? gt
library(help"graphics") Shows help for
package graphics For example gt ?plot
7
Package the command belongs to
How to use What arguments, and their default
settings
8
Links to related subject
Always examples at the bottom
9
Essentials
  • R is case sensitive!
  • (beware auto correction)
  • Decimal separator . not,
  • Character strings are placed in
  • Where are my data?
  • To find out in which directory R is working
    getwd()
  • To change the directory setwd(pathname)
  • Caution
  • setwd(C\\SummerSchoolPracticals)
  • setwd(C/SummerSchoolPracticals)
  • When importing your own data best no spaces in
    header.

2.71828
2,71828
10
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com