Code is on the Website Outline Comparison of Excel and R

Slides:



Advertisements
Similar presentations
Microsoft Excel for beginners. What a spreadsheet is and why you might want one Basic Excel operations How to build a simple spreadsheet Class Objectives:
Advertisements

WHAT IS ELINK? Thermoflow, Inc.
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.
Review for Excel Chapter 1
Excel Lesson 1 Microsoft Excel Basics
Introduction to GTECH 201 Session 13. What is R? Statistics package A GNU project based on the S language Statistical environment Graphics package Programming.
Welcome to E-Prime E-Prime refers to the Experimenter’s Prime (best) development studio for the creation of computerized behavioral research. E-Prime is.
What is an “Excel spreadsheet document”? Terminology Excel spreadsheet document: it is the whole thing.
EXCEL PART1. Objectives  Understand spreadsheet software  Tour the Excel 2010 window  Understand formulas  Enter labels and values and use the Sum.
ATM 315 Environmental Statistics Course Goto Follow the link and then choose the desktop application.
SAS Workshop Lecture 1 Lecturer: Annie N. Simpson, MSc.
UNLOCKING THE SECRETS HIDDEN IN YOUR DATA
The Original and Current Basic R “Console” command line interface….
Learning Objectives What is a spreadsheet and what is the difference between a spreadsheet and a worksheet? Start Excel, open an existing spreadsheet,
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Copyright © 2008 Prentice-Hall. All rights reserved. What Can I Do with a Spreadsheet.
What is MATLAB? MATLAB is one of a number of commercially available, sophisticated mathematical computation tools. Others include Maple Mathematica MathCad.
Hands-on Introduction to R. We live in oceans of data. Computers are essential to record and help analyse it. Competent scientists speak C/C++, Java,
With Microsoft Excel 2007 Comprehensive 1e© 2008 Pearson Prentice Hall1 Chapter 1: PowerPoint Presentation GO! with Microsoft Excel ® 2007 Comprehensive.
Outline Comparison of Excel and R R Coding Example – RStudio Environment – Getting Help – Enter Data – Calculate Mean – Basic Plots – Save a Coding Script.
Melanie Peasnall. MS Word Microsoft Word is a word processing program that allows you to make text files. This can be anything from a note to a novel.
Math 15 Lecture 9 University of California, Merced Scilab A Short Introduction – No. 3 Today – Quiz #4.
Creating Histograms on the TI-84 and in Excel Mr. Ricks Madison High School.
How do I export the Address Book to Excel? The first step is to go to "Address Book Report" under Admin Only menu Choose the fields you want. note that.
Introduction to R Introductions What is R? RStudio Layout Summary Statistics Your First R Graph 17 September 2014 Sherubtse Training.
Lecture 20: Choosing the Right Tool for the Job. What is MATLAB? MATLAB is one of a number of commercially available, sophisticated mathematical computation.
1 Excel Lesson 1 Microsoft Excel Basics Microsoft Office 2010 Pasewark & Pasewark.
Excel Lesson 1 Microsoft Excel Basics
PROGRAMMING IN R Introduction to R. In this session I will: Introduce you to the R program and windows Show how to install R Write basic programs in R.
Learn R Toolkit D Kelly O'DayInstall & SetupMod 1 - Setup: 1 Module 1 Installing & Setting Up R Do See & HearRead Learn PowerPoint must be in View Show.
Using SPSS Note: The use of another statistical package such as Minitab is similar to using SPSS.
Introduction to Programming on MATLAB Ecological Modeling Course Sep 11th, 2006.
Pasewark & Pasewark 1 Excel Lesson 1 Excel Basics Microsoft Office 2007: Introductory.
Introduction to R Dr. Satish Nargundkar. What is R? R is a free software environment for statistical computing and graphics. It compiles and runs on a.
R Brown-Bag Seminar 2.1 Topic: Introduction to R Presenter: Faith Musili ICRAF-Geoscience Lab.
International Computer Driving Licence Syllabus version 5.0
Getting Started with R.
Microsoft Excel Basics
Appendix B MathScript Basics
Matlab Training Session 4: Control, Flow and Functions
Getting Started with Excel 2013
MATLAB Introduction Dr. Theodore Cleveland University of Houston
Using SPSS Note: The use of another statistical package such as Minitab is similar to using SPSS.
Managing results files
Installing R and R Studio
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Lab 1 Introductions to R Sean Potter.
Basic statistics on a vector in R
Today’s Beginner Workshop
Welcome to E-Prime E-Prime refers to the Experimenter’s Prime (best) development studio for the creation of computerized behavioral research. E-Prime is.
Crash course in R – short introduction
Microsoft Office Illustrated Introductory, Windows XP Edition
Learning Outcomes –Lesson 4
Microsoft Excel 101.
CSCI N207 Data Analysis Using Spreadsheet
Communication and Coding Theory Lab(CS491)
funCTIONs and Data Import/Export
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Integration - an introduction
MIS2502: Data Analytics Introduction to R and RStudio
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Using SPSS Note: The use of another statistical package such as Minitab is similar to using SPSS.
Input and Output Python3 Beginner #3.
SPREADSHEETS WHAT & WHY?.
Using R for Data Analysis and Data Visualization
Importing Excel Data & Exporting Data to Excel
Lesson 14 Spreadsheet Software.
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
A brief introduction to the nutrient tool-kit, getting R Studio to work and checking the data Martyn Kelly
Packages Maria Novosolov.
Presentation transcript:

Code is on the Website Outline Comparison of Excel and R R Coding Example RStudio Environment Getting Help Entering Data Calculating Basic Plots Save a Coding Script Code is on the Website http://bostondatacommunity.org/r-beginner/

Brief Review of Excel Active Spreadsheet Area Most Everything is Point-and-Click

RStudio Active Coding Area Some Point-and-Click Place to Enter Single Commands View Some Output

Computing Average in Excel Range of Data Mathematical Formula

How to Find Average in R? STEPS Open a New Script Write Code to Create a “Vector” (Column of Data) Run the Code Review Results

Open up a New Script Window

How to Create a “Range” in R? Use the c() function to combine values or text In R a column is called a Vector ? to get more information ?c

How to Get Help on a Function

Create the following Vector (i.e. Column of Data) x <- c(77, 60, 90) Why a “x” Why a “<-” and not an “=“ can be named most anything Both work. “<-” is traditional

RStudio Environment 1 2 4 3 Variable shows up in the environment panel Enter Code 2 Run 4 Or CTRL-Enter Code is Ran in the Console 3

Let’s Try Some Basic Statistical Functions mean(x) max(x)

R Built-In Packages

R Pre-Loaded Packages

Let’s Try Some Graphical Functions #charts plot(x) barplot(x) pie(x)

Plots Zoom or Export Page Back To Clear Console: CTRL-L

Save a Script Current File Directory: getwd() If Needed, Set New Working Directory Session > Set Working Directory > Choose Directory To save script / code: File > Save As The File will have a .R filetype