R basics workshop

18
R basics workshop J. Sebastián Tello Iván Jiménez Center for Conservation and Sustainable Development

description

R basics workshop. J. Sebasti án Tello Iván Jiménez. Center for Conservation and Sustainable Development. Iván Jiménez MBG co-instructor. J. Sebastián Tello MBG co-instructor. John Hodge UMSL Teaching Assistant. - PowerPoint PPT Presentation

Transcript of R basics workshop

Page 1: R basics workshop

R basics workshop

J. Sebastián TelloIván JiménezCenter for Conservation and Sustainable Development

Page 2: R basics workshop

Iván JiménezMBG

co-instructor

J. Sebastián TelloMBG

co-instructor

John HodgeUMSL

Teaching Assistant

Page 3: R basics workshop

Wendy Applequist, MBG; Maribel Arenas Navarro, UNAM and MBG Bascom Fellow; Rani Asmarayani, UMSL; Joshua

Atteberry, PRE and MBG REU; Maria Wilhelmina Barbosa de Oliveira Pil, UMSL; Elizabeth Biro, WASHU; David Bogler, MBG; Alonso Bussalleu, UMSL; Steven Callen, SLU; Susanne DiSalvo, WASHU; Tracy Douglas, WASHU; Matthew Greg, SLU; Jennifer

Gruhn, WASHU; Pu Huang, UMSL; Mari Jaramillo, UMSL; Corinne Kozlowski, SLZ; Shih-Hui Liu SLU; Quinn Long, MBG;

Isabel Loza, UMSL; Chrissy McAllister, SLU and P; Lauren Merchant, SLU; Allison Miller, SLU; Jonathan Myers, WASHU;

Shaunak Mulani, WASHU; Nosayaba Osazuwa-Peters, SLU Cancer Center; Patrick Raines, UMSL; Heritiana Ranarivelo,

UMSL; Zongxin Ren, SLU; Julieth Serrano, MBG Bascom Fellow; Kimberley Sukhum, WASHU; Elvis Valderrama, UMSL; Anna

Weyher, WASHU; Kathleen Zelle, WASHU.

Page 4: R basics workshop

• To teach the basic knowledge necessary to use R independently, thus helping participants initiate their own process of learning the specific tools needed for their research.

Objective

Page 5: R basics workshop

• 3 days, 2 sessions each day: 8:00 am to noon and 2:00 pm to 5:00 pm

• Limited Wifi access, no internet cable connections

Logistics

Page 6: R basics workshop

Network: MRCR_CbecEDU key: abbaabbaabGroup 1

Wendy Applequist, MBGMaribel Arenas Navarro, UNAM and MBG Bascom FellowRani Asmarayani, UMSLJoshua Atteberry, PRE and MBG REU

Group 2Maria Wilhelmina Barbosa de Oliveira Pil, UMSLElizabeth Biro, WASHUDavid Bogler, MBGAlonso Bussalleu, UMSL

Group 3Steven Callen, SLUSusanne DiSalvo, WASHUTracy Douglas, WASHUMatthew Greg, SLU

Page 7: R basics workshop

Network: MRCR_Cbec key: garden07Group 1

Jennifer Gruhn, WASHU Pu Huang, UMSLMari Jaramillo, UMSLCorinne Kozlowski, SLZ

Group 2Shih-Hui Liu SLUQuinn Long, MBGIsabel Loza, UMSLChrissy McAllister, SLU and P

Group 3Lauren Merchant, SLUAllison Miller, SLUJonathan Myers, WASHUShaunak Mulani, WASHU

Page 8: R basics workshop

Network: MRCR_CBI1 key: garden07Group 1

Nosayaba Osazuwa-Peters, SLU Cancer CenterPatrick Raines, UMSLHeritiana Ranarivelo, UMSLZongxin Ren, SLU

Group 2Julieth Serrano, MBG Bascom FellowKimberley Sukhum, WASHUElvis Valderrama, UMSLAnna Weyher, WASHU

Group 3Kathleen Zelle, WASHUJohn Hodge, UMSL

Page 9: R basics workshop

• 3 days, 2 sessions each day: 8:00 am to noon and 2:00 pm to 5:00 pm

• Limited Wifi access, no internet cable connections

• Website: https://sites.google.com/site/rbasicsworkshop/home

Logistics

Page 10: R basics workshop

Day 11. Introduction – Iván2. Functions and arguments – Sebastián3. Objects – Sebastián4. Opening and saving files – Sebastián

General contents

Page 11: R basics workshop

Day 23. Data generation – Iván4. Operators – Iván5. Manipulating data and objects in R – Iván

General contents

Page 12: R basics workshop

Day 36. Graphics in R – Iván 7. Flow control – loops and conditionals – Sebastián8. Advice on writing R scripts – Sebastián

General contents

Page 13: R basics workshop

Day 11. Introduction – Iván

2. Functions and arguments – Sebastián

3. Objects – Sebastián

4. Opening and saving files – Sebastián

Day 23. Data generation – Iván

4. Operators – Iván

5. Manipulating data and objects in R – Iván

Day 36. Graphics in R – Iván

7. Flow control – loops and conditionals – Sebastián

8. Advice on writing R scripts – Sebastián

General contents

Page 14: R basics workshop

1. Introduction

Page 15: R basics workshop

What is R?R is a language and environment for statistical computing and graphics. Environment = planned and coherent system of flexible tools (“An Introduction to R” by R Core Team).

R can be used for: data manipulation, data analysis, creating graphs, designing and running computer simulations.

R is extended by thousands of packages.

Page 16: R basics workshop

How to get R• From www.r-project.org. R is a GNU project.

Page 17: R basics workshop

Three windows in RConsole Editor Graphics

Page 18: R basics workshop

Exersice 1: a first session in R

• Objective: experiencing R