R freeware statistics package Tara Jenson NCAR RAL JNT Tom Hopson.

Slides:



Advertisements
Similar presentations
In the Format section, we have activated the Bibliographic style drop down menu. From this page, you can choose a specific journal or format (e.g. BMC.
Advertisements

Lab III – Linux at UMBC.
Introduction to S-Plus by Francesco Ferretti Analysis of Biological Data Course Winter term 2007 Dalhousie University.
Computer Software 3 Section A Software Basics CHAPTER PARSONS/OJA
Introduction to R Tara Jensen National Center for Atmospheric Research Boulder, Colorado USA
 Statistics package  Graphics package  Programming language  Can be used to share/reproduce analyses  Many new packages being created - can be downloaded.
Introduction to a language and environment for statistical computing and graphics. A tutorial by Eric Gilliland and Matt Pocernich March 29th, 2006.
Seven good reasons why everyone should be using R.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 5: User Environment and Multiple Languages.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
The “R” Statistical Package Naomi Altman Dept. of Statistics PSU.
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.
 Definition of HTML Definition of HTML  Tags in HTML Tags in HTML  Creation of HTML document Creation of HTML document  Structure of HTML Structure.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 1Winter Quarter Introduction to UNIX.
Computer Software.
Chapter 5 Application Software.
HTML Comprehensive Concepts and Techniques Intro Project Introduction to HTML.
NAWD National Conference on Student Activities – 2009 can produce Yip-pees! Saturday December 5, 2009 – Fort Lauderdale, FL Lou Miller – Executive Director,
What is R By: Wase Siddiqui. Introduction R is a programming language which is used for statistical computing and graphics. “R is a language and environment.
Linux Operations and Administration
Operating Systems Operating System
ROOT An object oriented HEP analysis framework.. Computing in Physics Physics = experimental science =>Experiments (e.g. at CERN) Planning phase Physics.
CS110/CS119 Introduction to Computing (Java)
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Software All parts of the computer people can NOT touch, such as programs, files, documents and any other data.
Introduction to MATLAB Session 1 Prepared By: Dina El Kholy Ahmed Dalal Statistics Course – Biomedical Department -year 3.
Web Technologies Website Development Trade & Industrial Education
4 1 Operating System Activities  An operating system is a type of system software that acts as the master controller for all activities that take place.
| | Tel: | | Computer Training & Personal Development Microsoft Office Publisher 2007 Expert.
Objectives Understand what MATLAB is and why it is widely used in engineering and science Start the MATLAB program and solve simple problems in the command.
1 Computing Software. Programming Style Programs that are not documented internally, while they may do what is requested, can be difficult to understand.
Website Development with Dreamweaver
Section 2 Software.
Chapter Three The UNIX Editors. 2 Lesson A The vi Editor.
Tutorial 111 The Visual Studio.NET Environment The major differences between Visual Basic 6.0 and Visual Basic.NET are the latter’s support for true object-oriented.
Computational Methods of Scientific Programming Lecturers Thomas A Herring, Room A, Chris Hill, Room ,
Chapter 3 – Part 1 Word Processing Writer for Linux CMPF 112 : COMPUTING SKILLS.
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.
1 2. Program Construction in Java Programming Fundamentals.
OARE Module 5A: Scopus (Elsevier). Table of Contents About Scopus (Elsevier) Using Scopus Search Page Results/Refine Search Pages Download, PDF, Export,
Agenda Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Review next lab assignments Break Out Problems.
Guide to Programming with Python Chapter One Getting Started: The Game Over Program.
© Paradigm Publishing Inc. 5-1 Chapter 5 Application Software.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
10/8: Software What is software? –Types of software System software: Operating systems Applications Creating software –Evolution of software development.
OARE Module 4: Summon Searching. What is Summon? Summon is a Google-like search engine that provides fast, relevancy-ranked results: Enter the search.
Chapter Three The UNIX Editors.
Introduction to Matlab  Matlab is a software package for technical computation.  Matlab allows you to solve many numerical problems including - arrays.
Intermediate 2 Computing Unit 2 - Software Development.
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
Practical Kinetics Exercise 0: Getting Started Objectives: 1.Install Python and IPython Notebook 2.print “Hello World!”
Explore GNOME The easy way, using a live CD By Carl Weisheit.
Word and the Writing Process. To create a document 1.On the Start menu, point to Programs, and then click Microsoft Word. A new document opens in Normal.
Chris Knight Beginners’ workshop.
Online Programming| Online Training| Real Time Projects | Certifications |Online Classes| Corporate Training |Jobs| CONTACT US: STANSYS SOFTWARE SOLUTIONS.
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
Physics 114: Lecture 1 Overview of Class Intro to MATLAB
Development Environment
Getting Started with R.
Weather Forecast Verification Using
Chapter 2: System Structures
MATLAB Basics Nafees Ahmed Asstt. Professor, EE Deptt DIT, DehraDun.
Guide To UNIX Using Linux Third Edition
R Programming.
Word and the Writing Process
MATLAB – What Is It ? Name is from matrix laboratory Powerful tool for
SOFTWARE TECHNOLOGIES
Linux Operations and Administration
Stata Basic Course.
An Introduction to the Windows Operating System
Presentation transcript:

R freeware statistics package Tara Jenson NCAR RAL JNT Tom Hopson

What is R? A statistical programming language In part, developed from the S Programming Language from Bell Labs (John Chambers) Created to allow rapid development of methods for use in different types of data. Create new graphics. Many default parameters are chosen, but users retain complete control.

Why R? R has become the dominant language in the statistical research community. R is Open Source and free. Runs on all operatingsystems Nearly 2,400 packages contributed. Packagesand applications in nearly every field of science, business and economics. See R Notes, R Journal and Journal of Statistical Software More than 100 books with accompanying code Very large, active user base.

Why not R? NCL, IDL, Matlab, SAS, … are all viable alternatives to R. If you are a part of an active community of researchers using another language, do likewise. If we were biostatisticians we would be using SAS. Book Title: “Analyzing Receiver Operating Characteristic Curves with SAS” Consider building verification functions and utilities as part of code development. Verification need not be an external process to forecasting.

The R Community Developers – R Core Group (17 members), only 2 have left since 1997 – Major update in April/October (freeze dates, beta versions, bug tracking,...) Mailing lists – Help list ~ 150 messages/day, archived, searchable. 5 International Conferences, 2 US, 1 China

Source code Binary compilations (Windows, Mac OS, Linux Documentation ( Main documents, plus numerous contributed. Some in foreign languages.) Newsletter (replaced by R Journal.) Mailing list (Several search engines) Packages on every topic imaginable Wiki with examples Reference list of books using R. ( more than 100) Task Manager Everything about R is at

Use R with scripts In Linux - Emacs Speaks Statistics – Provides syntax-based – Object name completion – Key strokeshort cuts – Commandhistory – Alt-x R to invoke R with Xemacs. In Windows, use editor – Added GUI features – R sends a line or highlighted section into R. – Install package with GUIs – Save graphics by point and click. Mac OS – Similarto Windows with advantages of system calls.

Packages in R Contributed by people world wide. Allow scientists or statisticians to push their ideas. Apply and extend R capabilities to meet the needs of specific communities. Accompany many statistical textbooks

A sample of useful packages verification fields (spatial stats) radiosondes extRemes BMA(BayesianModel Averaging) BMAensemble circular Rsqlite Rgis, spatstat (GIS) ncdf ( support for netcdf files ) Rcolorbrewer randomForests

Packages Packages must be installed to call. Packages must be called to use. Base packages are installed by default.

10 most useful function in R aggregate - applies a function to groups of data subset by categories. apply - incredibly efficient in avoiding loops. Applies functions across dimensions of arrays. layout - creatively divide a print region. xyplot (in the lattice package) slightly advance graphic techniques %in% returns logical showing which elements in A are in B. (e.g A%in%B)

More top 10 table – create contingency tabel counts. boot – apply bootstrap function correctly read.fwf – read fixed width format data par – control everything in a graph system( ) – allows you to call system command from R pairs – the most under utilized plot – plots a matrix of 4 columns in a 4x4 plot layout

Login, start your windowing system. $ R Start R as appropriate for your platform. The R program begins, with a banner. (Within R, the prompt on the left hand side will not be shown to avoid confusion.) help.start() Start the HTML interface to on-line help (using a web browser available at your machine). You should briefly explore the features of this facility with the mouse. In particular, work through 1.5, 2.1 – 2.3, and appendix A (just the first one or two sections)

R Exercises Choose groups of 3-4 – find a computer Log onto machines Bring up at least 2 xterms >cd /home/user/Desktop/longlead >vi intro2R.2013.R And work through the commands given …