Outline Comparison of Excel and R R Coding Example – RStudio Environment – Getting Help – Enter Data – Calculate Mean – Basic Plots – Save a Coding Script.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Spreadsheet Software lesson 14. This lesson includes the following sections: Spreadsheet Programs and Their Uses The Spreadsheet's Interface Entering.
Spreadsheet Basics Computer Technology.
Functions in MatLab Create a new folder on your Z:drive called MatLab_Class24 Start MatLab and change your current directory to MatLab_Class24 Topics:
Excel Lesson 1 Microsoft Excel Basics
INTRODUCTION TO SPREADSHEETS BTEC 149—Computer Applications Essentials.
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.
A Simple Guide to Using SPSS© for Windows
EXCEL PART1. Objectives  Understand spreadsheet software  Tour the Excel 2010 window  Understand formulas  Enter labels and values and use the Sum.
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
Introduction to programming in MATLAB MATLAB can be thought of as an super-powerful graphing calculator Remember the TI-83 from calculus? With many more.
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….
Stat 155, Section 2, Last Time Numerical Summaries of Data: –Center: Mean, Medial –Spread: Range, Variance, S.D., IQR 5 Number Summary & Outlier Rule Transformation.
Launch SpecE8 and React from GSS. You can use the chemical analyses in a GSS data sheet to set up and run SpecE8 and React calculations. Analysis → Launch…
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Copyright © 2008 Prentice-Hall. All rights reserved. What Can I Do with a Spreadsheet.
Matlab Workshop 1/10/07 Lesson 1: Matlab as a graphing calculator.
Working with Spreadsheets A spreadsheet is a worksheet that resembles a table and is used for organizing numbers. An electronic spreadsheet file can contain.
What is MATLAB? MATLAB is one of a number of commercially available, sophisticated mathematical computation tools. Others include Maple Mathematica MathCad.
An Introduction To Creating Spreadsheets Trainer: Sam Capurso.
Dealing with Data Basic Steps to Using the TI-83 Graphing Calculator.
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.
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.
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.
Introduction to MATLAB Section2, statistics course Third year biomedical dept. Dina El Kholy, Ahmed Dalal.
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.
Introduction to Matlab Module #10 Page 1 Introduction to Matlab Module #10 – Creating Graphical User Interfaces Topics 1.Overview of GUI Development using.
Unit 24 Learning Spreadsheet Essentials Starting on page 287  Mrs. Jefcoat  Business Technology Applications Unit 24: Lessons
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.
 Are two random variables related to each other ?  What does it mean if the data are independent?  What is meant by the term covariance?  What does.
Chris Knight Beginners’ workshop.
Introduction to R Chris Free. Introduction to R Free! Superior (if not comparable) to commercial alternatives Available on all platforms Not just for.
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.
Microsoft Excel Basics
Appendix B MathScript Basics
Matlab Training Session 4: Control, Flow and Functions
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.
Installing R and R Studio
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.
Spreadsheet Basics Computer Technology.
Crash course in R – short introduction
Microsoft Office Illustrated Introductory, Windows XP Edition
A little Introduction to R
A little Introduction to R
Spreadsheet Basics Computer Technology.
Code is on the Website Outline Comparison of Excel and R
Parts of an Excel Window
Microsoft Excel 101.
Communication and Coding Theory Lab(CS491)
funCTIONs and Data Import/Export
Spreadsheet Basics Computer Technology.
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.
Using R for Data Analysis and Data Visualization
Spreadsheet Basics Computer Technology.
Importing Excel Data & Exporting Data to Excel
Lesson 14 Spreadsheet Software.
Presentation transcript:

Outline Comparison of Excel and R R Coding Example – RStudio Environment – Getting Help – Enter Data – Calculate Mean – Basic Plots – Save a Coding Script

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 Create a “Range”  Vector in R Terminology Code is on the Website

Open up a New Script Window

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

How to Get Help on a Function ?c

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

RStudio Environment Run Or CTRL-Enter Variable shows up as being the environment Command is Ran in the Console Enter Code

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

R Built-In Packages

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

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

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