a very short introduction to r l.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
A very short introduction to R PowerPoint Presentation
Download Presentation
A very short introduction to R

Loading in 2 Seconds...

play fullscreen
1 / 10

A very short introduction to R - PowerPoint PPT Presentation


  • 113 Views
  • Uploaded on

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 comprehensive, easy to learn -large community, with many contributors -well supported mailing list

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

A very short introduction to R


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
slide2

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/
  • •Download software
  • http://cran.r-project.org/
slide3

Create your own functions

See an example in the

Practical this afternoon!

Maps

Graphics

http://addictedtor.free.fr/graphiques/

Manage your data

Statistics

r under windows
R under windows

> Command prompt

slide5

You can type your commands directly at the command prompt (>) or you can use the

Editor window. The advantage of the editor is, you can save your script

straight away.

slide6

Help youRself....

> help() # opens help

> help.start() # opens R-Documentation in a browser window

> help(command) # shows help on “command”

> ?command # shows help on “command”

> library() # Shows which packages are loaded?

> library(help="graphics") # Shows help for package “graphics”

For example

> ?plot

slide7

Package the

command

belongs to

How to use

What arguments,

and their default settings

slide8

Links to related

subject

Always examples

at the bottom

essentials
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