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

Writing functions in R Some handy advice for creating your own functions.
Statistical Methods Lynne Stokes Department of Statistical Science Lecture 7: Introduction to SAS Programming Language.
Baburao Kamble (Ph.D) University of Nebraska-Lincoln Data Analysis Using R Week3: Data Input/Output (Import/Export) in R.
Fundamental Features of Graphs All graphs have two, clearly-labeled axes that are drawn at a right angle. –The horizontal axis is the abscissa, or X-axis.
Today: Run SAS programs on Saturn (UNIX tutorial) Runs SAS programs on the PC.
R for Research Data Analysis using R Day1: Basic R Baburao Kamble University of Nebraska-Lincoln.
1 CA201 Word Application Working with Charts Week # 7 By Tariq Ibn Aziz Dammam Community college.
Graphing. The Important Elements of a Graph  Horizontal Axis (X-Axis)  Represents the passage of time and the numerical value of behavior.  The Independent.
EViews. Agenda Introduction EViews files and data Examining the data Estimating equations.
Using Excel to Plot Farrokh Alemi, Ph.D.. Objectives Given a set of data plot a control chart using Excel software.
RESEARCH HUB AT THE UNIVERSITY LIBRARIES PENN STATE UNIVERSITY TOUR OF STATISTICAL PACKAGES.
Source Code -Tons of Code Package -More Code -Statistical Functions -Datasets Workspace -Fewer Lines of Code -Capability.
Some Possibly Useful Graphics Functions Lunch presentation.
Correlation and Covariance. Overview Continuous Categorical Histogram Scatter Boxplot Predictor Variable (X-Axis) Height Outcome, Dependent Variable (Y-Axis)
Correlation and Covariance
Graphing. The Important Elements of a Graph  Horizontal Axis (X-Axis)  The Independent Variable. A change in this variable affects the y variable. 
ALEXANDER C. LOPILATO R: Because the names of other stat programs don’t make sense so why should this one?
The Original and Current Basic R “Console” command line interface….
Intro to R R is a free version of S-plus R is a free version of S-plus Can be used interactively but script or syntax files are commonly used to record.
Introduction to to R Emily Kalah Gade University of Washington Credit to Kristin Siebel for development of much of this PowerPoint.
Programming in R Getting data into R. Importing data into R In this session we will learn: Some basic R commands How to enter data directly into R How.
R freeware statistics package Tara Jenson NCAR RAL JNT Tom Hopson.
Currently, how many R Packages? At the command line enter:  dim(available.packages())  available.packages()
Khoros Yongqun He Dept. of Computer Science, Virginia Tech.
Graphing Parameters Titles X-Axis Title Y-Axis Title Legend Scales Color Gridlines library(help="graphics") Basic Chart Types The R Graphics Package LineHistogram.
I❤RI❤R Kin Wong (Sam) Game Plan Intro R Import SPSS file Descriptive Statistics Inferential Statistics GraphsQ&A.
R-Studio and Revolution Analytics have built additional functionality on top of base R.
16 Graph Skills How to read and understand advanced types of bar charts, area graphs, climographs and triangle graphs How to advance their skills of drawing.
_______________________________________________________________CMAQ Libraries and Utilities ___________________________________________________Community.
Outline Comparison of Excel and R R Coding Example – RStudio Environment – Getting Help – Enter Data – Calculate Mean – Basic Plots – Save a Coding Script.
R packages/libraries Data input/output Rachel Carroll Department of Public Health Sciences, MUSC Computing for Research I, Spring 2014.
Currently, how many R Packages? At the command line enter:  dim(available.packages())  available.packages()
Introduction to R Introductions What is R? RStudio Layout Summary Statistics Your First R Graph 17 September 2014 Sherubtse Training.
Ggplot2 A cool way for creating plots in R Maria Novosolov.

Chapter 15: Spreadsheet and Worksheet Basics Lesson 96: Worksheets with Charts © 2010, 2006 South-Western, Cengage Learning.
DATA MINING Pandas. Python Data Analysis Library A library for data analysis of (mostly) tabular data Gives capabilities similar to Excel and SQL but.
PH15720 Laboratory Techniques - An Introduction to MATHCAD.
Outline Research Question: What determines height? Data Input Look at One Variable Compare Two Variables Children’s Height and Parents Height Children’s.
CHART COMPONENTS Lesson 6 – Working With Charts and Graphics, continued.
PH15010 Laboratory Techniques - An Introduction to MATHCAD.
Currently, how many R Packages? At the command line enter:  dim(available.packages())  available.packages()
Introduction to CADStat. CADStat and R R is a powerful and free statistical package [
Data & Graphing vectors data frames importing data contingency tables barplots 18 September 2014 Sherubtse Training.
Math 252: Math Modeling Eli Goldwyn Introduction to MATLAB.
Advanced Charts Lesson 9. Objectives 1. Create charts by using data from other applications. 2. Modify chart types. 3. Add and modify chart options. 4.
1 EPIB 698C Lecture 1 Instructor: Raul Cruz-Cano
Before the class starts: 1) login to a computer 2) start RStudio 3) download Intro.R from MyCourses 4) open Intro.R in Rstudio 5) Download “R in Action”
CHART COMPONENTS Lesson 6 – Working With Charts and Graphics, continued.
MIS2502: Data Analytics Introduction to Advanced Analytics and R.
Pinellas County Schools
R PROGRAMMING FOR SQL DEVELOPERS Kiran Math Developer : Proterra in Greenville SC
Vectors and DataFrames. Character Vector: b
Introduction to R user-friendly and absolutely free
Sections Text Mining Plan Twitter API twitteR package
DATA MANAGEMENT MODULE: Getting Data Into and Out of R
ggplot2 Merrill Rudd TAs: Brooke Davis and Megsie Siple
Getting your data into R
Introduction to R Commander
Currently, how many R Packages?
Data Management Module: Concatenating, Stacking, Merging and Recoding
DATA MANAGEMENT MODULE: Getting Data Into and Out of R
Today’s Beginner Workshop
Use of Mathematics using Technology (Maltlab)
McIDAS-V: Why it’s Based on VisAD and IDV
R Programming For Sql Developers ETL USING R
Communication and Coding Theory Lab(CS491)
Installing Packages Introduction to R, Part II
Vectors and DataFrames
Presentation transcript:

Source Code -Tons of Lines of Code Simplified Package -Code -Documentation -Datasets Workspace -Fewer Lines of Code -Efficiency -Capability

Character Vector: b <- c("one","two","three") numeric vector character vector Numeric Vector: a <- c(1,2,5.3,6,-2,4) Matrix: y<-matrix(1:20, nrow=5,ncol=4) Dataframe: d <- c(1,2,3,4) e <- c("red", "white", "red", NA) f <- c(TRUE,TRUE,TRUE,FALSE) mydata <- data.frame(d,e,f) names(mydata) <- c("ID","Color","Passed") List: w <- list(name="Fred", age=5.3) Data Structures Framework Source: Hadley Wickham

Integrated Development Environment (IDE) Write Code/ Program -Input Data -Analyze -Graphics Datasets, etc. Enter Commands View Results

Workflow Statistics & Analysis Data Analysis Goals Data Input Visualization & Reporting Data Management Enter Manually Combine VariablesAdd Variable Select a Subset Input a Comma Separated Values R Installation Already Includes Several Libraries

(3a) Graphical Parameters (2) Statistical Function (3b) Plot Function Sample Script (1) Data Input

Currently, how many R Packages? At the command line enter:  dim(available.packages())  available.packages()

Specialized “Domain” CourseSome Coverage stats graphics (both built-in) Data Management plyr reshape Graphics ggplot2 Bayesian DifferentialEquations Econometrics Environmetrics ExperimentalDesign Finance Genetics HighPerformanceComputing MachineLearning MedicalImaging NaturalLanguageProcessing Pharmacokinetics Phylogenetics Psychometrics SocialSciences Spatial TimeSeries

R Packages have been created that are equivalent to the functionality of SAS and SPSS

XLConnect XML rhbase sas7bdat Rcpp Packages for reading, writing for various data sources and file formats RJSONIO Hmisc RODBC / ROracle foreign RMySQL RWeka Comma Separated Variables

The R Graphics Package Graphing Parameters Titles X-Axis Title Y-Axis Title Legend Scales Color Gridlines library(help="graphics") Basic Chart Types

Correlations Matrix library(car) scatterplotMatrix(h)

The next data visual was produced with about 150 lines of R code