Introduction to R Thomas J. Leeper Department of Political Science - - PowerPoint PPT Presentation

introduction to r
SMART_READER_LITE
LIVE PREVIEW

Introduction to R Thomas J. Leeper Department of Political Science - - PowerPoint PPT Presentation

Challenges Opportunities Introduction to R Thomas J. Leeper Department of Political Science and Government Aarhus University November 14, 2013 Challenges Opportunities Challenges Opportunities Challenges 1 2 Opportunities Challenges


slide-1
SLIDE 1

Challenges Opportunities

Introduction to R

Thomas J. Leeper

Department of Political Science and Government Aarhus University

November 14, 2013

slide-2
SLIDE 2

Challenges Opportunities

slide-3
SLIDE 3

Challenges Opportunities

1

Challenges

2

Opportunities

slide-4
SLIDE 4

Challenges Opportunities

1

Challenges

2

Opportunities

slide-5
SLIDE 5

Challenges Opportunities

Frustrations with your current software

What frustrations did you have learning your current software? What frustrations do you still have with your current software?

slide-6
SLIDE 6

Challenges Opportunities

Frustrations you will have with R

No graphical user interface (GUI)

slide-7
SLIDE 7

Challenges Opportunities

Frustrations you will have with R

No graphical user interface (GUI) Lots of add-on packages (lightweight base software)

slide-8
SLIDE 8

Challenges Opportunities

Frustrations you will have with R

No graphical user interface (GUI) Lots of add-on packages (lightweight base software) Mistype or misspell commands

slide-9
SLIDE 9

Challenges Opportunities

Frustrations you will have with R

No graphical user interface (GUI) Lots of add-on packages (lightweight base software) Mistype or misspell commands Missing data handling

slide-10
SLIDE 10

Challenges Opportunities

Frustrations you will have with R

No graphical user interface (GUI) Lots of add-on packages (lightweight base software) Mistype or misspell commands Missing data handling Cryptic error messages

slide-11
SLIDE 11

Challenges Opportunities

1

Challenges

2

Opportunities

slide-12
SLIDE 12

Challenges Opportunities

Why should you use R?

Because you want to do more

slide-13
SLIDE 13

Challenges Opportunities

What can you do with R?

slide-14
SLIDE 14

Challenges Opportunities

What can you do with R?

Everything

slide-15
SLIDE 15

Challenges Opportunities

What can you do with R?

Everything But seriously...

slide-16
SLIDE 16

Challenges Opportunities

What can you do with R?

Everything But seriously... Everything

slide-17
SLIDE 17

Challenges Opportunities

What can you do with R?

Everything But seriously... Everything:

Statistical analysis

slide-18
SLIDE 18

Challenges Opportunities

What can you do with R?

Everything But seriously... Everything:

Statistical analysis Texting processing

slide-19
SLIDE 19

Challenges Opportunities

What can you do with R?

Everything But seriously... Everything:

Statistical analysis Texting processing Machine learning

slide-20
SLIDE 20

Challenges Opportunities

What can you do with R?

Everything But seriously... Everything:

Statistical analysis Texting processing Machine learning Online data

slide-21
SLIDE 21

Challenges Opportunities

What can you do with R?

Everything But seriously... Everything:

Statistical analysis Texting processing Machine learning Online data High-level visualization

slide-22
SLIDE 22

Challenges Opportunities

What can you do with R?

Everything But seriously... Everything:

Statistical analysis Texting processing Machine learning Online data High-level visualization Sudoku

slide-23
SLIDE 23

Challenges Opportunities

Why should you use R?

Because you want to do more

slide-24
SLIDE 24

Challenges Opportunities

Why should you use R?

Because you want to do more Because you can create a better scientific workflow

slide-25
SLIDE 25

Challenges Opportunities

Why is R better for science?

R will always be here Scripting Reproducible research tools

Scripting Report generation Data sharing

slide-26
SLIDE 26

Challenges Opportunities

Reproducible Research

All data and replication code is public All results come directly from code Analysis is about writing a script, not pointing and clicking Makes changes and collaboration easier

slide-27
SLIDE 27

Challenges Opportunities

Scientific Workflow

Store data in perpetually readable formats Write a complete analysis script Script should run analysis and output results Reports should import results directly Share data, script, and codebooks

slide-28
SLIDE 28

Challenges Opportunities

Questions so far?

slide-29
SLIDE 29

Challenges Opportunities

Why should you use R?

Because you want to do more Because you can create a better scientific workflow

slide-30
SLIDE 30

Challenges Opportunities

Why should you use R?

Because you want to do more Because you can create a better scientific workflow Because everyone else is doing it

slide-31
SLIDE 31

Challenges Opportunities

What is everyone else doing?

slide-32
SLIDE 32

Challenges Opportunities

What is everyone else doing?

slide-33
SLIDE 33

Challenges Opportunities

What is everyone else doing?

slide-34
SLIDE 34

Challenges Opportunities

What is everyone else doing?

slide-35
SLIDE 35

Challenges Opportunities

What is everyone else doing?

slide-36
SLIDE 36

Challenges Opportunities

What is everyone else doing?

slide-37
SLIDE 37

Challenges Opportunities

What is everyone else doing?

slide-38
SLIDE 38

Challenges Opportunities

Impact of popularity

Huge community support Cutting edge techniques Versatile

slide-39
SLIDE 39

Challenges Opportunities

Why should you use R?

Because you want to do more Because you can create a better scientific workflow Because everyone else is doing it

slide-40
SLIDE 40

Challenges Opportunities

Why should you use R?

Because you want to do more Because you can create a better scientific workflow Because everyone else is doing it Because it is free

slide-41
SLIDE 41

Challenges Opportunities

What is freedom?

Freedom means free

slide-42
SLIDE 42

Challenges Opportunities

What is freedom?

Freedom means free Freedom means forever

slide-43
SLIDE 43

Challenges Opportunities

What is freedom?

Freedom means free Freedom means forever Freedom means independence

slide-44
SLIDE 44

Challenges Opportunities

What is freedom?

Freedom means free Freedom means forever Freedom means independence Freedom means control

slide-45
SLIDE 45

Challenges Opportunities

Why should you use R?

Because you want to do more Because you can create a better scientific workflow Because everyone else is doing it Because it is free

slide-46
SLIDE 46

Challenges Opportunities

Why should you use R?

Because you want to do more Because you can create a better scientific workflow Because everyone else is doing it Because it is free Because R is beautiful

slide-47
SLIDE 47

Challenges Opportunities

Graphs are beautiful

You can make data look like art

slide-48
SLIDE 48

Challenges Opportunities

slide-49
SLIDE 49

Challenges Opportunities

slide-50
SLIDE 50

Challenges Opportunities

slide-51
SLIDE 51

Challenges Opportunities

slide-52
SLIDE 52

Challenges Opportunities

slide-53
SLIDE 53

Challenges Opportunities

Questions so far?

slide-54
SLIDE 54