Learning R hands on. Organization of Folders: Class Data folder has datasets (end in.csv or.rda) Rcode has the scripts of R commands that can cut and.

Slides:



Advertisements
Similar presentations
1 SESSION 5 Graphs for data analysis. 2 Objectives To be able to use STATA to produce exploratory and presentation graphs In particular Bar Charts Histograms.
Advertisements

Summary Statistics/Simple Graphs in SAS/EXCEL/JMP.
Advanced Microsoft Word Lesson 10 – Customizing Tables and Creating Charts Microsoft Office XP: Advanced Course.
Chapter 2 Minitab for Data Analysis KANCHALA SUDTACHAT.
Chapter 2 Minitab for Data Analysis KANCHALA SUDTACHAT.
Scripts and Flow Control. Scripts So far we have been entering commands directly into the command line But there is a better way Script files (and functions)
Graph these numbers. 1. Highlight the rows you need for your axes 2. Click on the chart wizard icon.
EGR106 Week 6 MATLAB FILES Two Dimensional Plots Multiple Plots
Access Tutorial 1 Creating a Database
A Simple Guide to Using SPSS© for Windows
Macros Excel built-in functions are great but limited Macros are a means for the user to define new functions A macro is a single command that automates.
1 Advanced PowerPoint Cliff Solomon. 2 Presentation Outline Inserting Movies and Animations Into Your Presentations Using Progressive Disclosures and.
Chapter 9 Creating Graphs in Illustrator. Objectives Create a graph Edit a graph using the Graph Data window Use the Group Selection tool Use the Graph.
SPSS Statistical Package for the Social Sciences is a statistical analysis and data management software package. SPSS can take data from almost any type.
Help for Excel as Applied to the Map Your Hazards! Module, Unit 2 Map Your Hazards! Combining Natural Hazards with Societal Issues 1.
Introduction to SPSS Short Courses Last created (Feb, 2008) Kentaka Aruga.
Python plotting for lab folk Only the stuff you need to know to make publishable figures of your data. For all else: ask Sourish.
Excel 4 Conditional Functions, Formats, and Backstage.
Chapter 5 Review: Plotting Introduction to MATLAB 7 Engineering 161.
Dreamweaver – Setting up a Site and Page Layouts Web Design Section 7-2 Part or all of this lesson was adapted from the University of Washington’s “Web.
Data Analysis Using SPSS
Hands-on Introduction to R. Outline R : A powerful Platform for Statistical Analysis Why bother learning R ? Data, data, data, I cannot make bricks without.
SPSS Presented by Chabalala Chabalala Lebohang Kompi Balone Ndaba.
Chapter 9 Creating and Designing Graphs. Creating a Graph A graph is a diagram of data that shows relationship among a set of numbers. Data can be represented.
XP New Perspectives on Integrating Microsoft Office XP Tutorial 2 1 Integrating Microsoft Office XP Tutorial 2 – Integrating Word, Excel, and Access.
Resetting Student PreTests. Within the MyNursingLab Study Plans, pretests can be taken only one time by the student.
This is what a blank excel workbook looks like. To start there are three separate sheets on which to store data. Down the left side are the ROW labels.
1 (21) EZinfo Introduction. 2 (21) EZinfo  A Software that makes data analysis easy  Reveals patterns, trends, groups, outliers and complex relationships.
Octave. Getting Started Arithmetic is as usual: – What would (a-V)(V-1)V be for a=0.1 and V=-56? – Multiplication is *, division is /
Computerized Graphing By: Ms. Gliot. Qualitative Vs. Quantitative Data 1.What is your favorite color? A. Yellow B. Blue C. Cranberry d. Pink 2.How many.
Creating Graphs in Illustrator
Social Science Research Design and Statistics, 2/e Alfred P. Rovai, Jason D. Baker, and Michael K. Ponton Using the Chart Editor PowerPoint Prepared by.
Plotting Points and Modeling Real-World Data Using Scatter Plots.
Chapters 2 & 3 MATLAB Skills This tutorial revisits Examples 3.1 to 3.4 to show how MATLAB can be used to solve the same problems 1.Scatter Plots 2.Other.
SPSS- Tutorial The following power-point slides show you how to use some of the features in SPSS. A survey of 20 randomly selected companies asked them.
R-Graphics Stephen Opiyo. Basic Graphs One of the main reasons data analysts turn to R is for its strong graphic capabilities. R generates publication-ready.
Example 2 Starbucks Stores Chapter 3.4 The table gives the number of Starbucks stores in the United States for the years 1992 through a.Create a.
Ggplot2 A cool way for creating plots in R Maria Novosolov.
Click your mouse for next slide Adding Text Click in any text box Type in your text OR.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Prepared by volunteers of the Ann Arbor Chapter of the American Statistical Association, in cooperation with the Department of Statistics and the Center.
Pre-Algebra 12-1 Arithmetic Sequences Learn to find terms in an arithmetic sequence.
How to Embed a YouTube Video into a PowerPoint Presentation. Eric Hoehn TEC /1/10.
Chapter 28. Copyright 2003, Paradigm Publishing Inc. CHAPTER 28 BACKNEXTEND 28-2 LINKS TO OBJECTIVES Table Calculations Table Properties Fields in a Table.
Lab 9: practice with functions Some tips to make your functions a little more interesting.
Dreamweaver – Setting up a Site and Page Layouts Web Design Section 7-2 Part or all of this lesson was adapted from the University of Washington’s “Web.
Using Appropriate Displays. The rabbit’s max speed is easier to find on the ________. The number of animals with 15 mph max speed or less was easier to.
1-2 What is the Matlab environment? How can you create vectors ? What does the colon : operator do? How does the use of the built-in linspace function.
MS POWERPOINT Technology Mrs. Willis. MICROSOFT POWERPOINT BASICS  Inserting Text Boxes  Inserting Pictures  Copy and Paste.
Dreamweaver – Setting up a Site and Page Layouts
Using R Graphs in R.
Student Registration/ Personal Needs Profile
Access Tutorial 1 Creating a Database
Getting your data into R
Introduction to R Commander
DEPARTMENT OF COMPUTER SCIENCE
Chapter 8: ODS Graphics ODS graphics were not available prior to SAS 9.2 They have been implemented across a wide range of procedures Functionality isn’t.
Summary Statistics in R Commander
Dreamweaver – Setting up a Site and Page Layouts
R Assignment #4: Making Plots with R (Due – by ) BIOL
A basic tutorial.
Using linear regression features on graphing calculators.
Univariate Data Exploration
Access Tutorial 1 Creating a Database
Microsoft Office Illustrated Introductory, Windows XP Edition
Functions In Matlab.
Student Registration/ Personal Needs Profile
Working with Formulas and Functions
Student Registration/ Personal Needs Profile
MINITAB CHAPTER 3 Manipulating and Calculating Data Paul Johnson.
Presentation transcript:

Learning R hands on

Organization of Folders: Class Data folder has datasets (end in.csv or.rda) Rcode has the scripts of R commands that can cut and pasted into an R window (end in.R) Ppt has the powerpoints

The Basics Rintro.R Reading in comma separated data Listing a data set or its components Subscripts Sequences and combing values (: and “c”) Creating a new data set with <- Arithmetic in R Applying some stats to data Saving your work

Fooling with the data RintroManipulating.R Subscripting to get a subset of data Working with rows and columns Arithmetic on a column at once Pay attention to where the commas are! e.g. BT2[3,5] BT2[3,] BT2[,5] BT2[,3:5] or BT2[1:10,3:5] These are all different!

Plotting Data RintroPlotting.R Histogram hist Adding more features to the plot Scatterplots using plot Box plots for several data sets boxplot Adding text to a scatter plot Changing the axes scales Build a complicated plot by adding features through several simple steps

Writing functions RintroFunctions.R The uses for { } and ( ) What goes in and what comes out Listing a function Optional arguments Calling a function and assigning its results to a new data set Review of R arithmetic