1 An Introduction – UCF, Methods in Ecology, Fall 2008 An Introduction By Danny K. Hunt & Eric D. Stolen Getting Started with R (with speaker notes)

Slides:



Advertisements
Similar presentations
WHAT IS ELINK? Thermoflow, Inc.
Advertisements

Introduction to S-Plus by Francesco Ferretti Analysis of Biological Data Course Winter term 2007 Dalhousie University.
PRE-SCHOOL QUANT WORKSHOP II R THROUGH EXCEL. NEW YORK TIMES INFOGRAPHICS GALARY The Jobless Rate for People Like You Home Prices in Selected Cities For.
How to improve your Data Analysis Processes in your Web Application / ERP using RClass Juan Antonio Breña Moral
Writing functions in R Some handy advice for creating your own functions.
Actuarial Modeling in R CAS Predictive Modeling Seminar Las Vegas October, 2007 Glenn Meyers, FCAS, MAAA Jim Guszcza, FCAS, MAAA.
 Statistics package  Graphics package  Programming language  Can be used to share/reproduce analyses  Many new packages being created - can be downloaded.
Financial Data Calculator© Produced by: Mathematical Investment Decisions, Inc. 95 West Gate Drive – 2 nd Floor Cherry Hill, NJ Web site:
Introduction to GTECH 201 Session 13. What is R? Statistics package A GNU project based on the S language Statistical environment Graphics package Programming.
Introduction to R A. Di Bucchianico. Introduction to R2 Types of statistical software command-line software –requires knowledge of syntax of commands.
R – a brief introduction Johannes Freudenberg Cincinnati Children’s Hospital Medical Center
McGraw-Hill Technology Education© 2004 by the McGraw-Hill Companies, Inc. All Rights Reserved. Introduction to Microsoft Office 2003.
How to Use the R Programming Language for Statistical Analyses Part I: An Introduction to R Jennifer Urbano Blackford, Ph.D. Department of Psychiatry Kennedy.
What is R Muhammad Omer. What is R  R is the programing language software for statistical computing and data analysis  The R language is extensively.
Computer Technology Correct Keyboarding Technique Eyes on copy Fingers curved Correct fingers Key smooth Proper sitting posture.
Introduction to R Statistical Software Anthony (Tony) R. Olsen USEPA ORD NHEERL Western Ecology Division Corvallis, OR (541)
Operating Systems Chapter 4.
1 Chapter 6 Understanding Computers, 11 th Edition Software Ownership Rights Software license: agreement, either included in a software package or displayed.
ACCB 133 Information Technology and Accounting Applications Lecture 6: Application Software.
Biostatistics, statistical software II. A brief survey of statistical program systems Krisztina Boda PhD Department of Medical Informatics, University.
Computer Concepts – Illustrated 8 th edition Unit C: Computer Software.
Data Visualization using R
Applications Software. Applications software is designed to perform specific tasks. There are three main types of application software: Applications packages.
Introduction to SPSS Edward A. Greenberg, PhD
A B C Q R S! Coilín Minto Department of Biology, Dalhousie University.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Piotr Wolski Introduction to R. Topics What is R? Sample session How to install R? Minimum you have to know to work in R Data objects in R and how to.
Using the ‘R’ Language for Bioinformatics
Using Software in Teaching Statistics Damon Berridge, Centre for Applied Statistics, Dept of Mathematics & Statistics ESRC NCRM.
An Introduction To Creating Spreadsheets Trainer: Sam Capurso.
C/IL 102 Demographic Survey Fall 2005 Summary. Basic Word Processing (Create, store, spell check) Very Poor 0 Poor0 Average7 Good20 Excellent
Outline Comparison of Excel and R R Coding Example – RStudio Environment – Getting Help – Enter Data – Calculate Mean – Basic Plots – Save a Coding Script.
WRITING REPORTS Introduction Section 0 Lecture 1 Slide 1 Lecture 6 Slide 1 INTRODUCTION TO Modern Physics PHYX 2710 Fall 2004 Intermediate 3870 Fall 2015.
Introduction to Morpho BEAM Workshop Samantha Romanello Long Term Ecological Research University of New Mexico.
What’s New in Office 2007 By: Kathleen MacKinnel.
An Introduction to R Statistical Computing AMS 597 Stony Brook University Spring 2009 By Tianyi Zhang.
Introduction to R Introductions What is R? RStudio Layout Summary Statistics Your First R Graph 17 September 2014 Sherubtse Training.
Introduction to Morpho RCN Workshop Samantha Romanello Long Term Ecological Research University of New Mexico.
Introduction to R Carol Bult The Jackson Laboratory Functional Genomics (BMB550) Spring 2011.
1 An Introduction – UCF, Methods in Ecology, Fall 2008 An Introduction By Danny K. Hunt & Eric D. Stolen R References (with speaker notes)
Matlab Introduction  Getting Around Matlab  Matrix Operations  Drawing Graphs  Calculating Statistics  (How to read data)
+ Part I. + R Developed by Ross Ihaka and Robert Gentleman at the University of Auckland, NZ Open source software environment for statistical computing.
Excel-Introduction Business –E.g., Creating budget Chemistry –E.g., Analyzing chemical’s temperature vs. time Psychology –E.g., Test scores English –E.g.,
© 2015 by Wade Rogers Introduction to R Cytomics Workshop December, 2015.
2016/2/9System Arch (Fire Tom Wada)1 SCILAB Glance and demonstration By: Pham Thi Thu Phuong.
1 An Introduction – UCF, Methods in Ecology, Fall 2008 An Introduction By Danny K. Hunt & Eric D. Stolen Working In R (with speaker notes)
Introduction to R Aedín Culhane
Ing. Martina Majorová, FEM SUA Statistics Lecture 2 – Introduction to MS Excel 2003.
Lecture 11 Introduction to R and Accessing USGS Data from Web Services Jeffery S. Horsburgh Hydroinformatics Fall 2013 This work was funded by National.
Pinellas County Schools
Introduction to R and RStudio
Introduction to R user-friendly and absolutely free
R programming language
Second Annual Cytomics Workshop April, 2017
Introduction to R Carolina Salge March 29, 2017.
Getting Started with R.
R Programming.
Christopher W.V. Hogue, Ph.D
Introduction to R.
An introduction to data analysis using R
Today’s Beginner Workshop
Crash course in R – short introduction
Code is on the Website Outline Comparison of Excel and R
Introduction to Problem Solving & Programming using Processing 2
CSCI N207 Data Analysis Using Spreadsheet
Communication and Coding Theory Lab(CS491)
Introduction to Problem Solving & Programming using Processing 2
R Statistical Language
Using R for Data Analysis and Data Visualization
Introduction to Problem Solving & Programming using Processing 2
Presentation transcript:

1 An Introduction – UCF, Methods in Ecology, Fall 2008 An Introduction By Danny K. Hunt & Eric D. Stolen Getting Started with R (with speaker notes)

2 An Introduction – UCF, Methods in Ecology, Fall 2008 What We Will Learn What is A Short History Getting Started With R Our First R Session

3 An Introduction – UCF, Methods in Ecology, Fall 2008 What is  A Data Analysis Environment –A Programming Environment for Data Analysis and Graphics –An integrated suite of software facilities  Data manipulation  Calculation  Graphical display –An Interactive data analysis “Environment” –A De-facto Standard

4 An Introduction – UCF, Methods in Ecology, Fall 2008 A Short History  S (programming language) –Statistical Computing Language –Originates at Bell Labs in Mid-1970’s –Modern Version Develops in 1991 –R is a Dialect of S  S-PLUS –Commercial Package –Developed in 1988 to Current

5 An Introduction – UCF, Methods in Ecology, Fall 2008 A Short History  –Was Originally Created  In late 1990’s  By Ross Ihaka and Robert Gentleman  At the University of Auckland, New Zealand –GNU S (open source software) –The R Foundation

6 An Introduction – UCF, Methods in Ecology, Fall 2008 Getting Started With R  Getting Jump Started with R –R- An Introduction - 01 Installation.ppt  Acquiring, Downloading, and Installing R software  Extending R using packages –R- An Introduction - 02 References.ppt  URL’s: Official web sites, Newbie stuff, and more –An Introduction to R  Appendix A: A sample session –R FAQ

7 An Introduction – UCF, Methods in Ecology, Fall 2008 Getting Started With R  Review RGui –License  Understand your license to use and copy R  Run and review: license(), RShowDoc("COPYING") –Citation:  Please cite R in your publications  Run and Review: citation() –Walk through of the R GUI menus  Getting Help  Working with Packages  Other features

8 An Introduction – UCF, Methods in Ecology, Fall 2008 Our First R Session  Quick Review of Vectors –Simple Plot  x <- 1:5  y <- c(1, 2, 3, 4, 5)  plot(x, y); lines(x, y) –Vectors are Objects –Numeric vectors are the simplest data structure available in R –R operates using objects and functions

9 An Introduction – UCF, Methods in Ecology, Fall 2008 Our First R Session  Code Snippet Deconstruction x <- 1:5 y <- c(1, 2, 3, 4, 5) plot(x, y); lines(x, y) –Three Code Elements  Objects (x, y)  Operators (“:”, “<-”, “;”)  Functions (c(), plot(), lines())

10 An Introduction – UCF, Methods in Ecology, Fall 2008 Our First R Session  Let’s Take it One Step Further y <- y * 2 plot(x, y); lines(x, y) –y * 2 multiplies all the values of y by two –Plots points and a line with a slope of 2

11 An Introduction – UCF, Methods in Ecology, Fall 2008 Our First R Session  Datasets –100 famous datasets are built in –Use the function data() to get a list –Datasets are stored as dataframes  Objects made up of rows and columns  The InsectSprays dataset –View the contents of a dataframe  Type InsectSprays  Type InsectSprays –View summary information  Type summary(InsectSprays)  Type summary(InsectSprays)

12 An Introduction – UCF, Methods in Ecology, Fall 2008 Our First R Session  The InsectSprays dataset –Attaching to an object  Type attach(InsectSprays)  Type attach(InsectSprays) –Plot a histogram  Type hist(InsectSprays$count)  Type hist(InsectSprays$count) –Graph a box-and-whisker plot  Type boxplot(count~spray)  Type boxplot(count~spray)

13 An Introduction – UCF, Methods in Ecology, Fall 2008 Our First R Session  The InsectSprays dataset –Saving a dataframe to a file  Type write.csv(InsectSprays, "c:\\temp\\insect.csv")  Type write.csv(InsectSprays, "c:\\temp\\insect.csv") –Loading a dataframe from a file  Use MS Excel to load insect.csv and save as tab delimited c:\\temp\\insect.txt  Type insect <- read.delim("c:\\temp\\insect.txt")

14 An Introduction – UCF, Methods in Ecology, Fall 2008 The End