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

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

Embed Size (px)

Citation preview

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

R basics workshop

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

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

Workshop Instructors and TA

J. Sebastián Tello - Missouri Botanical Garden – Assistant ScientistIván Jiménez - Missouri Botanical Garden – Associate ScientistJohn Hodge - University of Missouri – St. Louis, Graduate Student

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

Workshop Participants (page 1)

Eli Baskir - Saint Louis Zoo - Research TechnicianRachel Becknell - University of Missouri – St. Louis, REU student Natalie Breakfield - NewLeaf Symbiotics – Senior Research ScientistVictoria Brown - Kennerly - Webster University – Assistant Professor Monica Carlsen - University of Missouri – St. Louis – PostDocSharina Carter - Washington University – Post-bachelor, part-time studentAmy Clippinger - Washington University – Graduate StudentNicolás Correa-Pascuas - University of Puerto Rico at Río Piedras – REU student Rachel DiDonato Tinsley - NewLeaf Symbiotics – ResearcherBenjamin Durrington - Hillsdale College – REU studentKerstin Edberg - Saint Louis University – Graduate Student Cassandra Kitchen - Saint Louis University – REU studentHeritiana Ranarivelo - University of Missouri – St. Louis – Graduate StudentCarol Iskiwitch - Washington University – Research AssistantKatryna M. Kibler - Antioch University new England - Graduate Student Jason Knouft - Saint Louis University - Associate ProfessorCamile Lugarini - University of Missouri – St. Louis - Graduate studentRichard Mayden - Saint Louis University – ProfessorQian Nie - Saint Louis University – Graduate StudentRosa del C. Ortiz - Missouri Botanical Garden – Researcher

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

Workshop Participants (page 2)

Anni Poetzl - Arizona State University – REU studentJill Preston - University of Vermont - Assistant ProfessorChelsea Pretz - Harris-Stowe State University – REU studentMary Lai Preuss - Webster University - Assistant Professor Robert E. Ricklefs – University of Missouri – St. Louis – Curators' Professor of BiologyRenée Rioux - NewLeaf Symbiotics - Senior Research ScientistMegan Ruffley - Miami University – REU studentKristina Sakers - Washington University - Graduate StudentChris Shaffer - Washington University - InstructorCraig Smith - Washington University - Biology LecturerJoel Swift - University of Central Missouri – REU studentDilys Vela - Washington University – Graduate StudentDaniel Warren - Saint Louis University - Assistant ProfessorRichard Zander - Missouri Botanical Garden - Research AssociateXingguo Zheng - Washington University - Graduate Student

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

• 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 6: R basics workshop J. Sebastián Tello Iván Jiménez Center for Conservation and Sustainable Development

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

• Limited Wifi access (if any…), no internet cable connections

• Website: http://rbasicsworkshop.weebly.com/

Logistics

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

Day 11. Introduction – Iván

2. Functions and arguments – Sebastián

3. Objects – Sebastián

4. Opening and saving files – Sebastián

Day 25. Data generation – Iván

6. Operators – Iván

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

8. Graphics in R – Iván

Day 39. Flow control – loops and conditionals – Sebastián

10. Vectorization – Sebastián

11. Writing your own functions – Iván

General contents

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

1. Introduction

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

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 described in CRAN Task Views at: http://cran.wustl.edu/

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

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

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

Three windows in RConsole Editor Graphics

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

Exersice 1: a first session in R

• Objective: experiencing R