Basic R QMMA. Emanuele Taufer. 2/19/2018 Basic R (1)

Size: px
Start display at page:

Download "Basic R QMMA. Emanuele Taufer. 2/19/2018 Basic R (1)"

Transcription

1 Basic R QMMA Emanuele Taufer file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 1/21

2 Preliminary R is case sensitive: a is not the same as A. Commands are separated either by a semi-colon ( ; ), or by a newline. When you use the R program it issues a prompt when it expects input commands. The default prompt is >. If a command is not complete at the end of a line, R will give a different prompt, by default +. Comments can be put almost anywhere, starting with a hashmark ( # ). file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 2/21

3 Objects The entities that R creates and manipulates are known as objects. During an R session, objects are created and stored by name The R command objects() can be used to display the names of (most of) the objects which are currently stored. To remove objects the function rm() is available: rm(x, y, z, ink, junk, temp, foo, bar) file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 3/21

4 Objects - 2 R has five basic or atomic classes of objects: character numeric (real numbers) integer complex logical (True/False) Vectors and lists Vector: can only contain objects of the same class List: represented as a vector but can contain objects of different classes file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 4/21

5 Entering Input At the R prompt we type expressions. The <- symbol is the assignment operator (= can be used as well - with some exceptions) x<- 3 x # assigns value 1 to an object (vector) x # prints x on the screen ## [1] 3 The [1] indicates that x is a vector and 3 is the first element text<- "Hello" text ## [1] "Hello" file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 5/21

6 Creating vectors The : operator is used to create integer sequences. x<- 1:10 x ## [1] The c() function can be used to create vectors of objects. x<-c(1,3,5) x # numeric ## [1] x<-c("a","c", "f") x<-c(true,false) #character # Logical, also T,F file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 6/21

7 Explicit Coercion Objects can be explicitly coerced from one class to another using the as.* functions, if available. x<- 1:6 class(x) ## [1] "integer" y=as.numeric(x) y ## [1] class(y) ## [1] "numeric" file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 7/21

8 as.character(x) ## [1] "1" "2" "3" "4" "5" "6" class(x) ## [1] "integer" y<-as.character(x) class(y) ## [1] "character" z<-as.factor(x) class(z) ## [1] "factor" str(z) ## Factor w/ 6 levels "1","2","3","4",..: file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 8/21

9 Factors Factors are used to represent categorical data. Factors can be unordered or ordered. One can think of a factor as an integer vector where each integer has a label. Factors are treated specially by modelling functions like lm() and glm() Using factors with labels is better than using integers because factors are self-describing; having a variable that has values Male and Female is better than a variable that has values 1 and 2. file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 9/21

10 Factors -example x<-c(0,0,0,1,1,0,1) class(x) ## [1] "numeric" y<-factor(x,levels=c(0,1),labels=c("female","male")) class(y) ## [1] "factor" y ## [1] Female Female Female Male Male Female Male ## Levels: Female Male file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 10/21

11 Data Frames Data frames are used to store tabular data -They are represented as a special type of list where every element of the list has to have the same length -Each element of the list can be thought of as a column and the length of each element of the list is the number of rows -Unlike matrices, data frames can store different classes of objects in each column (just like lists); matrices must have every element be the same class -Data frames also have a special attribute called row.names -Data frames are created by using data.frame() or by calling data(), read.table() or read.csv(), -Can be converted to a matrix by calling data.matrix() file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 11/21

12 Using data.frame() Define the variables x<-seq(1:10) y<-c(1,2,4,7,8,3,4,5,3,2) z<-c("a","b","b","b","a","a","c","c","c","a") Build the data frame df<-data.frame("y"=y,"x"=x,"group"=z) df ## y x Group ## a ## b ## b ## b ## a ## a ## c ## c ## c ## a Analyze the structure str(df) ## 'data.frame': 10 obs. of 3 variables: ## $ y : num ## $ x : int ## $ Group: Factor w/ 3 levels "a","b","c": file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 12/21

13 Uploading data - data() function Used to upload data-sets already available in R. Type data() to see the available data-sets. data(mtcars) head(mtcars) #show the first rows of the data-set ## mpg cyl disp hp drat wt qsec vs am gear carb ## Mazda RX ## Mazda RX4 Wag ## Datsun ## Hornet 4 Drive ## Hornet Sportabout ## Valiant Type help(mtcars) to get info on the variables help(mtcars) file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 13/21

14 Analyze the structure and other elements str(mtcars) ## 'data.frame': 32 obs. of 11 variables: ## $ mpg : num ## $ cyl : num ## $ disp: num ## $ hp : num ## $ drat: num ## $ wt : num ## $ qsec: num ## $ vs : num ## $ am : num ## $ gear: num ## $ carb: num names(mtcars) ## [1] "mpg" "cyl" "disp" "hp" "drat" "wt" "qsec" "vs" "am" "gear" ## [11] "carb" attributes(mtcars) ## $names ## [1] "mpg" "cyl" "disp" "hp" "drat" "wt" "qsec" "vs" "am" "gear" ## [11] "carb" ## ## $row.names ## [1] "Mazda RX4" "Mazda RX4 Wag" "Datsun 710" ## [4] "Hornet 4 Drive" "Hornet Sportabout" "Valiant" ## [7] "Duster 360" "Merc 240D" "Merc 230" ## [10] "Merc 280" "Merc 280C" "Merc 450SE" ## [13] "Merc 450SL" "Merc 450SLC" "Cadillac Fleetwood" ## [16] "Lincoln Continental" "Chrysler Imperial" "Fiat 128" ## [19] "Honda Civic" "Toyota Corolla" "Toyota Corona" ## [22] "Dodge Challenger" "AMC Javelin" "Camaro Z28" ## [25] "Pontiac Firebird" "Fiat X1-9" "Porsche 914-2" ## [28] "Lotus Europa" "Ford Pantera L" "Ferrari Dino" ## [31] "Maserati Bora" "Volvo 142E" ## ## $class ## [1] "data.frame" file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 14/21

15 Summary statistics summary(mtcars) ## mpg cyl disp hp ## Min. :10.40 Min. :4.000 Min. : 71.1 Min. : 52.0 ## 1st Qu.: st Qu.: st Qu.: st Qu.: 96.5 ## Median :19.20 Median :6.000 Median :196.3 Median :123.0 ## Mean :20.09 Mean :6.188 Mean :230.7 Mean :146.7 ## 3rd Qu.: rd Qu.: rd Qu.: rd Qu.:180.0 ## Max. :33.90 Max. :8.000 Max. :472.0 Max. :335.0 ## drat wt qsec vs ## Min. :2.760 Min. :1.513 Min. :14.50 Min. : ## 1st Qu.: st Qu.: st Qu.: st Qu.: ## Median :3.695 Median :3.325 Median :17.71 Median : ## Mean :3.597 Mean :3.217 Mean :17.85 Mean : ## 3rd Qu.: rd Qu.: rd Qu.: rd Qu.: ## Max. :4.930 Max. :5.424 Max. :22.90 Max. : ## am gear carb ## Min. : Min. :3.000 Min. :1.000 ## 1st Qu.: st Qu.: st Qu.:2.000 ## Median : Median :4.000 Median :2.000 ## Mean : Mean :3.688 Mean :2.812 ## 3rd Qu.: rd Qu.: rd Qu.:4.000 ## Max. : Max. :5.000 Max. :8.000 file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 15/21

16 Uploading data - read.table() Generic function for reading data set from external sources. From the help(): read.table(file, # file (with path if necessary) header = FALSE, # T,F sep = "", # "," for csv files (";" or "") row.names, # can provide a vector of row names col.names, # can provide a vector of col names na.strings = "NA") Upload the file Auto.data from a webpage data<-read.table(" header = TRUE, sep="") head(data) ## mpg cylinders displacement horsepower weight acceleration year origin ## ## ## ## ## ## ## name ## 1 chevrolet chevelle malibu ## 2 buick skylark 320 ## 3 plymouth satellite ## 4 amc rebel sst ## 5 ford torino ## 6 ford galaxie 500 file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 16/21

17 Everything seems fine, however, let us read the structure of the data frame str(data) ## 'data.frame': 397 obs. of 9 variables: ## $ mpg : num ## $ cylinders : int ## $ displacement: num ## $ horsepower : Factor w/ 94 levels "?","100.0","102.0",..: ## $ weight : num ## $ acceleration: num ## $ year : int ## $ origin : int ## $ name : Factor w/ 304 levels "amc ambassador brougham",..: file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 17/21

18 Missing Values Missing values are denoted by NA or NaN for undefined mathematical operations. is.na() is used to test objects if they are NA is.nan() is used to test for NaN NA values have a class also, so there are integer NA, character NA, etc. A NaN value is also NA but the converse is not true file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 18/21

19 Back to the Auto.data In the Auto.data, the missing values are indicated with?. We need to give this information to R in order to read the data correctly. data<-read.table(" header = TRUE, sep="", na.strings="?") str(data) ## 'data.frame': 397 obs. of 9 variables: ## $ mpg : num ## $ cylinders : int ## $ displacement: num ## $ horsepower : num ## $ weight : num ## $ acceleration: num ## $ year : int ## $ origin : int ## $ name : Factor w/ 304 levels "amc ambassador brougham",..: file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 19/21

20 How many missing values? We can try to check how many missing values there are in the variable horsepower is.na(data$horsepower) ## [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [12] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [23] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE ## [34] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [45] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [56] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [67] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [78] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [89] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [100] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [111] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [122] FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE ## [133] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [144] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [155] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [166] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [177] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [188] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [199] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [210] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [221] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [232] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [243] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [254] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [265] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [276] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [287] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [298] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [309] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [320] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [331] TRUE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE ## [342] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [353] FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [364] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [375] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [386] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ## [397] FALSE file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 20/21

21 The vector above is defined a logical vector If we want to avoid checking the vector element by element, we can simply compute its sum (automatically a 1 will be assigned to TRUE and 0 otherwise) sum(is.na(data$horsepower)) ## [1] 5 If I want to check all the data set I can use colsums(is.na(data)) ## mpg cylinders displacement horsepower weight ## ## acceleration year origin name ## file:///c:/users/emanuele.taufer/google%20drive/2%20corsi/5%20qmma%20-%20mim/0%20classes/1-3_basic_r.html#(1) 21/21

Introduction for heatmap3 package

Introduction for heatmap3 package Introduction for heatmap3 package Shilin Zhao April 6, 2015 Contents 1 Example 1 2 Highlights 4 3 Usage 5 1 Example Simulate a gene expression data set with 40 probes and 25 samples. These samples are

More information

Quick Guide for pairheatmap Package

Quick Guide for pairheatmap Package Quick Guide for pairheatmap Package Xiaoyong Sun February 7, 01 Contents McDermott Center for Human Growth & Development The University of Texas Southwestern Medical Center Dallas, TX 75390, USA 1 Introduction

More information

Introduction to R: Day 2 September 20, 2017

Introduction to R: Day 2 September 20, 2017 Introduction to R: Day 2 September 20, 2017 Outline RStudio projects Base R graphics plotting one or two continuous variables customizable elements of plots saving plots to a file Create a new project

More information

Objects, Class and Attributes

Objects, Class and Attributes Objects, Class and Attributes Introduction to objects classes and attributes Practically speaking everything you encounter in R is an object. R has a few different classes of objects. I will talk mainly

More information

Graphics in R STAT 133. Gaston Sanchez. Department of Statistics, UC Berkeley

Graphics in R STAT 133. Gaston Sanchez. Department of Statistics, UC Berkeley Graphics in R STAT 133 Gaston Sanchez Department of Statistics, UC Berkeley gastonsanchez.com github.com/gastonstat/stat133 Course web: gastonsanchez.com/stat133 Base Graphics 2 Graphics in R Traditional

More information

Chapter 7. The Data Frame

Chapter 7. The Data Frame Chapter 7. The Data Frame The R equivalent of the spreadsheet. I. Introduction Most analytical work involves importing data from outside of R and carrying out various manipulations, tests, and visualizations.

More information

Computing with large data sets

Computing with large data sets Computing with large data sets Richard Bonneau, spring 009 (week ): introduction to R other notes, courses, lectures about R and S Ingo Ruczinski and Rafael Irizarry (Johs Hopkins Biostat): http://www.biostat.jhsph.edu/~bcaffo/statcomp/index.html

More information

getting started in R

getting started in R Garrick Aden-Buie // Friday, March 25, 2016 getting started in R 1 / 70 getting started in R Garrick Aden-Buie // Friday, March 25, 2016 INFORMS Code & Data Boot Camp Today we ll talk about Garrick Aden-Buie

More information

Introduction to Huxtable David Hugh-Jones

Introduction to Huxtable David Hugh-Jones Introduction to Huxtable David Hugh-Jones 2018-01-01 Contents Introduction 2 About this document............................................ 2 Huxtable..................................................

More information

MBV4410/9410 Fall Bioinformatics for Molecular Biology. Introduction to R

MBV4410/9410 Fall Bioinformatics for Molecular Biology. Introduction to R MBV4410/9410 Fall 2018 Bioinformatics for Molecular Biology Introduction to R Outline Introduce R Basic operations RStudio Bioconductor? Goal of the lecture Introduce you to R Show how to run R, basic

More information

Introduction to the R Language

Introduction to the R Language Introduction to the R Language Data Types and Basic Operations Starting Up Windows: Double-click on R Mac OS X: Click on R Unix: Type R Objects R has five basic or atomic classes of objects: character

More information

The Tidyverse BIOF 339 9/25/2018

The Tidyverse BIOF 339 9/25/2018 The Tidyverse BIOF 339 9/25/2018 What is the Tidyverse? The tidyverse is an opinionated collection of R packages designed for data science. All packages share an underlying design philosophy, grammar,

More information

What R is. STAT:5400 (22S:166) Computing in Statistics

What R is. STAT:5400 (22S:166) Computing in Statistics STAT:5400 (22S:166) Computing in Statistics Introduction to R Lecture 5 September 9, 2015 Kate Cowles 374 SH, 335-0727 kate-cowles@uiowa.edu 1 What R is an integrated suite of software facilities for data

More information

enote 1 1 enote 1 Introduction to R Updated: 01/02/16 kl. 16:10

enote 1 1 enote 1 Introduction to R Updated: 01/02/16 kl. 16:10 enote 1 1 enote 1 Introduction to R Updated: 01/02/16 kl. 16:10 enote 1 INDHOLD 2 Indhold 1 Introduction to R 1 1.1 Getting started with R and Rstudio....................... 3 1.1.1 Console and scripts............................

More information

MANIPULATING DATAFRAMES WITH PANDAS. Categoricals and groupby

MANIPULATING DATAFRAMES WITH PANDAS. Categoricals and groupby MANIPULATING DATAFRAMES WITH PANDAS Categoricals and groupby Sales data In [1]: sales = pd.dataframe(...: {...: 'weekday': ['Sun', 'Sun', 'Mon', 'Mon'],...: 'city': ['Austin', 'Dallas', 'Austin', 'Dallas'],...:

More information

Resources for statistical assistance. Quantitative covariates and regression analysis. Methods for predicting continuous outcomes.

Resources for statistical assistance. Quantitative covariates and regression analysis. Methods for predicting continuous outcomes. Resources for statistical assistance Quantitative covariates and regression analysis Carolyn Taylor Applied Statistics and Data Science Group (ASDa) Department of Statistics, UBC January 24, 2017 Department

More information

The xtablelist Gallery. Contents. David J. Scott. January 4, Introduction 2. 2 Single Column Names 7. 3 Multiple Column Names 9.

The xtablelist Gallery. Contents. David J. Scott. January 4, Introduction 2. 2 Single Column Names 7. 3 Multiple Column Names 9. The xtablelist Gallery David J. Scott January 4, 2018 Contents 1 Introduction 2 2 Single Column Names 7 3 Multiple Column Names 9 4 lsmeans 12 1 1 Introduction This document represents a test of the functions

More information

Accessing Databases from R

Accessing Databases from R user Vignette: Accessing Databases from R Greater Boston user Group May, 20 by Jeffrey Breen jbreen@cambridge.aero Photo from http://en.wikipedia.org/wiki/file:oracle_headquarters_redwood_shores.jpg Outline

More information

Will Landau. January 24, 2013

Will Landau. January 24, 2013 Iowa State University January 24, 2013 Iowa State University January 24, 2013 1 / 30 Outline Iowa State University January 24, 2013 2 / 30 statistics: the use of plots and numerical summaries to describe

More information

Reading and wri+ng data

Reading and wri+ng data An introduc+on to Reading and wri+ng data Noémie Becker & Benedikt Holtmann Winter Semester 16/17 Course outline Day 4 Course outline Review Data types and structures Reading data How should data look

More information

Create Awesome LaTeX Table with knitr::kable and kableextra Hao Zhu

Create Awesome LaTeX Table with knitr::kable and kableextra Hao Zhu Create Awesome LaTeX Table with knitr::kable and kableextra Hao Zhu 2017-10-31 Contents Overview 2 Installation 2 Getting Started 2 LaTeX packages used in this package...................................

More information

Regression Models Course Project Vincent MARIN 28 juillet 2016

Regression Models Course Project Vincent MARIN 28 juillet 2016 Regression Models Course Project Vincent MARIN 28 juillet 2016 Executive Summary "Is an automatic or manual transmission better for MPG" "Quantify the MPG difference between automatic and manual transmissions"

More information

Create Awesome LaTeX Table with knitr::kable and kableextra

Create Awesome LaTeX Table with knitr::kable and kableextra Create Awesome LaTeX Table with knitr::kable and kableextra Hao Zhu 2018-01-15 Contents Overview 3 Installation 3 Getting Started 3 LaTeX packages used in this package...................................

More information

Handling Missing Values

Handling Missing Values Handling Missing Values STAT 133 Gaston Sanchez Department of Statistics, UC Berkeley gastonsanchez.com github.com/gastonstat/stat133 Course web: gastonsanchez.com/stat133 Missing Values 2 Introduction

More information

WEEK 13: FSQCA IN R THOMAS ELLIOTT

WEEK 13: FSQCA IN R THOMAS ELLIOTT WEEK 13: FSQCA IN R THOMAS ELLIOTT This week we ll see how to run qualitative comparative analysis (QCA) in R. While Charles Ragin provides a program on his website for running QCA, it is not able to do

More information

Advances in integrating statistical inference

Advances in integrating statistical inference Nicos Angelopoulos 1 Samer Abdallah 2 and Georgios Giamas 1 1 Department of Surgery and Cancer, Division of Cancer, Imperial College London, Hammersmith Hospital Campus, Du Cane Road, London W12 ONN, UK.

More information

This is a simple example of how the lasso regression model works.

This is a simple example of how the lasso regression model works. 1 of 29 5/25/2016 11:26 AM This is a simple example of how the lasso regression model works. save.image("backup.rdata") rm(list=ls()) library("glmnet") ## Loading required package: Matrix ## ## Attaching

More information

Stat 241 Review Problems

Stat 241 Review Problems 1 Even when things are running smoothly, 5% of the parts produced by a certain manufacturing process are defective. a) If you select parts at random, what is the probability that none of them are defective?

More information

Introduction to R Software

Introduction to R Software 1. Introduction R is a free software environment for statistical computing and graphics. It is almost perfectly compatible with S-plus. The only thing you need to do is download the software from the internet

More information

Data Access 3. Migrating data. Date of Publish:

Data Access 3. Migrating data. Date of Publish: 3 Migrating data Date of Publish: 2018-07-12 http://docs.hortonworks.com Contents Data migration to Apache Hive... 3 Moving data from databases to Apache Hive...3 Create a Sqoop import command...4 Import

More information

Data types and structures

Data types and structures An introduc+on to Data types and structures Noémie Becker & Benedikt Holtmann Winter Semester 16/17 Course outline Day 3 Review GeFng started with R Crea+ng Objects Data types in R Data structures in R

More information

R and parallel libraries. Introduction to R for data analytics Bologna, 26/06/2017

R and parallel libraries. Introduction to R for data analytics Bologna, 26/06/2017 R and parallel libraries Introduction to R for data analytics Bologna, 26/06/2017 Outline Overview What is R R Console Input and Evaluation Data types R Objects and Attributes Vectors and Lists Matrices

More information

IST 3108 Data Analysis and Graphics Using R. Summarizing Data Data Import-Export

IST 3108 Data Analysis and Graphics Using R. Summarizing Data Data Import-Export IST 3108 Data Analysis and Graphics Using R Summarizing Data Data Import-Export Engin YILDIZTEPE, PhD Working with Vectors and Logical Subscripts >xsum(x) how many of the values were less than

More information

Introducion to R and parallel libraries. Giorgio Pedrazzi, CINECA Matteo Sartori, CINECA School of Data Analytics and Visualisation Milan, 09/06/2015

Introducion to R and parallel libraries. Giorgio Pedrazzi, CINECA Matteo Sartori, CINECA School of Data Analytics and Visualisation Milan, 09/06/2015 Introducion to R and parallel libraries Giorgio Pedrazzi, CINECA Matteo Sartori, CINECA School of Data Analytics and Visualisation Milan, 09/06/2015 Overview What is R R Console Input and Evaluation Data

More information

R Programming Basics

R Programming Basics R Programming Basics Outline R basics Data Structures R basics Using R as a calculator Open the Console window in Rstudio, or invoke R in stand alone mode You will see the prompt sign > Enter a numerical

More information

PSS718 - Data Mining

PSS718 - Data Mining Lecture 3 Hacettepe University, IPS, PSS October 10, 2016 Data is important Data -> Information -> Knowledge -> Wisdom Dataset a collection of data, a.k.a. matrix, table. Observation a row of a dataset,

More information

Input/Output Data Frames

Input/Output Data Frames Input/Output Data Frames Statistics 135 Autumn 2005 Copyright c 2005 by Mark E. Irwin Input/Output Importing text files Rectangular (n rows, c columns) Usually you want to use read.table read.table(file,

More information

Introduction to R. Le Yan HPC User LSU. Some materials are borrowed from the Data Science course by John Hopkins University on Coursera.

Introduction to R. Le Yan HPC User LSU. Some materials are borrowed from the Data Science course by John Hopkins University on Coursera. Introduction to R Le Yan HPC User Services @ LSU Some materials are borrowed from the Data Science course by John Hopkins University on Coursera. 10/28/2015 HPC training series Fall 2015 Outline R basics

More information

R Visualizing Data. Fall Fall 2016 CS130 - Intro to R 1

R Visualizing Data. Fall Fall 2016 CS130 - Intro to R 1 R Visualizing Data Fall 2016 Fall 2016 CS130 - Intro to R 1 mtcars Data Frame R has a built-in data frame called mtcars Useful R functions length(object) # number of variables str(object) # structure of

More information

Package assertr. R topics documented: February 23, Type Package

Package assertr. R topics documented: February 23, Type Package Type Package Package assertr February 23, 2018 Title Assertive Programming for R Analysis Pipelines Version 2.5 Provides functionality to assert conditions that have to be met so that errors in data used

More information

R Short Course Session 1

R Short Course Session 1 R Short Course Session 1 Daniel Zhao, PhD Sixia Chen, PhD Department of Biostatistics and Epidemiology College of Public Health, OUHSC 10/23/2015 Outline Overview of the 5 sessions Pre-requisite requirements

More information

Getting started with ggplot2

Getting started with ggplot2 Getting started with ggplot2 STAT 133 Gaston Sanchez Department of Statistics, UC Berkeley gastonsanchez.com github.com/gastonstat/stat133 Course web: gastonsanchez.com/stat133 ggplot2 2 Resources for

More information

Introduction to SAS. Hsueh-Sheng Wu. Center for Family and Demographic Research. November 1, 2010

Introduction to SAS. Hsueh-Sheng Wu. Center for Family and Demographic Research. November 1, 2010 Introduction to SAS Hsueh-Sheng Wu Center for Family and Demographic Research November 1, 2010 1 Outline What is SAS? Things you need to know before using SAS SAS user interface Using SAS to manage data

More information

Notes based on: Data Mining for Business Intelligence

Notes based on: Data Mining for Business Intelligence Chapter 9 Classification and Regression Trees Roger Bohn April 2017 Notes based on: Data Mining for Business Intelligence 1 Shmueli, Patel & Bruce 2 3 II. Results and Interpretation There are 1183 auction

More information

Introduction to SAS and Stata: Data Construction. Hsueh-Sheng Wu CFDR Workshop Series February 2, 2015

Introduction to SAS and Stata: Data Construction. Hsueh-Sheng Wu CFDR Workshop Series February 2, 2015 Introduction to SAS and Stata: Data Construction Hsueh-Sheng Wu CFDR Workshop Series February 2, 2015 1 What are data? Outline The interface of SAS and Stata Important differences between SAS and Stata

More information

S CHAPTER return.data S CHAPTER.Data S CHAPTER

S CHAPTER return.data S CHAPTER.Data S CHAPTER 1 S CHAPTER return.data S CHAPTER.Data MySwork S CHAPTER.Data 2 S e > return ; return + # 3 setenv S_CLEDITOR emacs 4 > 4 + 5 / 3 ## addition & divison [1] 5.666667 > (4 + 5) / 3 ## using parentheses [1]

More information

IMPORTING DATA IN R. Introduction read.csv

IMPORTING DATA IN R. Introduction read.csv IMPORTING DATA IN R Introduction read.csv Importing data in R? 5 types Flat files Data from Excel Databases Web Statistical software Flat Files states.csv Comma Separated Values state,capital,pop_mill,area_sqm

More information

Lab #7 - More on Regression in R Econ 224 September 18th, 2018

Lab #7 - More on Regression in R Econ 224 September 18th, 2018 Lab #7 - More on Regression in R Econ 224 September 18th, 2018 Robust Standard Errors Your reading assignment from Chapter 3 of ISL briefly discussed two ways that the standard regression inference formulas

More information

Spring 2017 CS130 - Intro to R 1 R VISUALIZING DATA. Spring 2017 CS130 - Intro to R 2

Spring 2017 CS130 - Intro to R 1 R VISUALIZING DATA. Spring 2017 CS130 - Intro to R 2 Spring 2017 CS130 - Intro to R 1 R VISUALIZING DATA Spring 2017 Spring 2017 CS130 - Intro to R 2 Goals for this lecture: Review constructing Data Frame, Categorizing variables Construct basic graph, learn

More information

Introduction to R. Le Yan HPC User LSU. Some materials are borrowed from the Data Science course by John Hopkins University on Coursera.

Introduction to R. Le Yan HPC User LSU. Some materials are borrowed from the Data Science course by John Hopkins University on Coursera. Introduction to R Le Yan HPC User Services @ LSU Some materials are borrowed from the Data Science course by John Hopkins University on Coursera. 3/2/2016 HPC training series Spring 2016 Outline R basics

More information

STAT 540 Computing in Statistics

STAT 540 Computing in Statistics STAT 540 Computing in Statistics Introduces programming skills in two important statistical computer languages/packages. 30-40% R and 60-70% SAS Examples of Programming Skills: 1. Importing Data from External

More information

Topics for today Input / Output Using data frames Mathematics with vectors and matrices Summary statistics Basic graphics

Topics for today Input / Output Using data frames Mathematics with vectors and matrices Summary statistics Basic graphics Topics for today Input / Output Using data frames Mathematics with vectors and matrices Summary statistics Basic graphics Introduction to S-Plus 1 Input: Data files For rectangular data files (n rows,

More information

In this tutorial we will see some of the basic operations on data frames in R. We begin by first importing the data into an R object called train.

In this tutorial we will see some of the basic operations on data frames in R. We begin by first importing the data into an R object called train. Data frames in R In this tutorial we will see some of the basic operations on data frames in R Understand the structure Indexing Column names Add a column/row Delete a column/row Subset Summarize We will

More information

Data Structures STAT 133. Gaston Sanchez. Department of Statistics, UC Berkeley

Data Structures STAT 133. Gaston Sanchez. Department of Statistics, UC Berkeley Data Structures STAT 133 Gaston Sanchez Department of Statistics, UC Berkeley gastonsanchez.com github.com/gastonstat/stat133 Course web: gastonsanchez.com/stat133 Data Types and Structures To make the

More information

A Short Guide to R with RStudio

A Short Guide to R with RStudio Short Guides to Microeconometrics Fall 2013 Prof. Dr. Kurt Schmidheiny Universität Basel A Short Guide to R with RStudio 2 1 Introduction A Short Guide to R with RStudio 1 Introduction 3 2 Installing R

More information

Mails : ; Document version: 14/09/12

Mails : ; Document version: 14/09/12 Mails : leslie.regad@univ-paris-diderot.fr ; gaelle.lelandais@univ-paris-diderot.fr Document version: 14/09/12 A freely available language and environment Statistical computing Graphics Supplementary

More information

Reading and writing data

Reading and writing data An introduction to WS 2017/2018 Reading and writing data Dr. Noémie Becker Dr. Sonja Grath Special thanks to: Prof. Dr. Martin Hutzenthaler and Dr. Benedikt Holtmann for significant contributions to course

More information

Importing data sets in R

Importing data sets in R Importing data sets in R R can import and export different types of data sets including csv files text files excel files access database STATA data SPSS data shape files audio files image files and many

More information

Basics of R. > x=2 (or x<-2) > y=x+3 (or y<-x+3)

Basics of R. > x=2 (or x<-2) > y=x+3 (or y<-x+3) Basics of R 1. Arithmetic Operators > 2+2 > sqrt(2) # (2) >2^2 > sin(pi) # sin(π) >(1-2)*3 > exp(1) # e 1 >1-2*3 > log(10) # This is a short form of the full command, log(10, base=e). (Note) For log 10

More information

file:///users/williams03/a/workshops/2015.march/final/intro_to_r.html

file:///users/williams03/a/workshops/2015.march/final/intro_to_r.html Intro to R R is a functional programming language, which means that most of what one does is apply functions to objects. We will begin with a brief introduction to R objects and how functions work, and

More information

Making Better Features: Principal Components Analysis and Other Data Transformations

Making Better Features: Principal Components Analysis and Other Data Transformations Making Better Features: Principal Components Analysis and Other Data Transformations 36-350: Data Mining September 27, 2006 Reading: Sections 2.4, 3.4, 3.5 and 3.6 in the textbook, especially Section 3.6

More information

Metropolis. A modern beamer theme. Matthias Vogelgesang October 12, Center for modern beamer themes

Metropolis. A modern beamer theme. Matthias Vogelgesang October 12, Center for modern beamer themes Metropolis A modern beamer theme Matthias Vogelgesang October 12, 2018 Center for modern beamer themes Introduction Title formats Elements Conclusion 2 Introduction 3 Metropolis The metropolis theme is

More information

Visualisation. Wolfgang Huber

Visualisation. Wolfgang Huber Visualisation Wolfgang Huber Visualisation 1-dim. data: distributions 2-dim. data: scatterplots Overview 3-dim. data: pseudo-3d displays a few more than 2-dim: colours, drill-down, lattice, parallel coordinates

More information

Description/History Objects/Language Description Commonly Used Basic Functions. More Specific Functionality Further Resources

Description/History Objects/Language Description Commonly Used Basic Functions. More Specific Functionality Further Resources R Outline Description/History Objects/Language Description Commonly Used Basic Functions Basic Stats and distributions I/O Plotting Programming More Specific Functionality Further Resources www.r-project.org

More information

Practical Guide To Cluster Analysis in R

Practical Guide To Cluster Analysis in R Multivariate Analysis I Alboukadel Kassambara Practical Guide To Cluster Analysis in R Unsupervised Machine Learning sthda.com Edition 1 A. Kassambara 2015 1 2 Copyright 2017 by Alboukadel Kassambara.

More information

arxiv: v1 [stat.ml] 17 Aug 2016

arxiv: v1 [stat.ml] 17 Aug 2016 arxiv:1608.04961v1 [stat.ml] 17 Aug 2016 Clustering Mixed Datasets Using Homogeneity Analysis with Applications to Big Data Rajiv Sambasivan January 13, 2019 Abstract Clustering datasets with a mix of

More information

int64 : 64 bits integer vectors

int64 : 64 bits integer vectors int64 : 64 bits integer vectors Romain François - romain@r-enthusiasts.com int64 version 1.1.2 Abstract The int64 package adds 64 bit integer vectors to R. The package provides the int64 and uint64 classes

More information

An Introduction to Statistical Computing in R

An Introduction to Statistical Computing in R An Introduction to Statistical Computing in R K2I Data Science Boot Camp - Day 1 AM Session May 15, 2017 Statistical Computing in R May 15, 2017 1 / 55 AM Session Outline Intro to R Basics Plotting In

More information

Eric Pitman Summer Workshop in Computational Science

Eric Pitman Summer Workshop in Computational Science Eric Pitman Summer Workshop in Computational Science 2. Data Structures: Vectors and Data Frames Jeanette Sperhac Data Objects in R These objects, composed of multiple atomic data elements, are the bread

More information

Thomas Hirchak Company Market Report for 10/28/ /21/2017. Page: 1 13:24:34

Thomas Hirchak Company Market Report for 10/28/ /21/2017. Page: 1 13:24:34 Market Report for 10/28/2017 - Page: 1 (4) Blizzak 205/60/R16 NA Red 90.00 (4) Wintermark M & P225/60/R16 NA Red 90.00 Acura 1999 TL 172461 Red 575.00 Acura 1996 RL 172943 Red 275.00 Arrow Glass 1989 Carisma

More information

Introduction to R: Data Types

Introduction to R: Data Types Introduction to R: Data Types https://ivanek.github.io/introductiontor/ Florian Geier (florian.geier@unibas.ch) September 26, 2018 Recapitulation Possible workspaces Install R & RStudio on your laptop

More information

10 Listing data and basic command syntax

10 Listing data and basic command syntax 10 Listing data and basic command syntax Command syntax This chapter gives a basic lesson on Stata s command syntax while showing how to control the appearance of a data list. As we have seen throughout

More information

Programming for Chemical and Life Science Informatics

Programming for Chemical and Life Science Informatics Programming for Chemical and Life Science Informatics I573 - Week 7 (Statistical Programming with R) Rajarshi Guha 24 th February, 2009 Resources Download binaries If you re working on Unix it s a good

More information

SML 201 Week 2 John D. Storey Spring 2016

SML 201 Week 2 John D. Storey Spring 2016 SML 201 Week 2 John D. Storey Spring 2016 Contents Getting Started in R 3 Summary from Week 1.......................... 3 Missing Values.............................. 3 NULL....................................

More information

Package csvread. August 29, 2016

Package csvread. August 29, 2016 Title Fast Specialized CSV File Loader Version 1.2 Author Sergei Izrailev Package csvread August 29, 2016 Maintainer Sergei Izrailev Description Functions for loading large

More information

Introduction to R. Nishant Gopalakrishnan, Martin Morgan January, Fred Hutchinson Cancer Research Center

Introduction to R. Nishant Gopalakrishnan, Martin Morgan January, Fred Hutchinson Cancer Research Center Introduction to R Nishant Gopalakrishnan, Martin Morgan Fred Hutchinson Cancer Research Center 19-21 January, 2011 Getting Started Atomic Data structures Creating vectors Subsetting vectors Factors Matrices

More information

Data Classes. Introduction to R for Public Health Researchers

Data Classes. Introduction to R for Public Health Researchers Data Classes Introduction to R for Public Health Researchers Data Types: One dimensional types ( vectors ): - Character: strings or individual characters, quoted - Numeric: any real number(s) - Integer:

More information

Where s the spreadsheet?

Where s the spreadsheet? Reading in Data Where s the spreadsheet? Statistical packages normally have a spreadsheet R has a minimal-but-usable spreadsheet More emphasis on data generated/curated externally Very powerful data import

More information

BIO5312: R Session 1 An Introduction to R and Descriptive Statistics

BIO5312: R Session 1 An Introduction to R and Descriptive Statistics BIO5312: R Session 1 An Introduction to R and Descriptive Statistics Yujin Chung August 30th, 2016 Fall, 2016 Yujin Chung R Session 1 Fall, 2016 1/24 Introduction to R R software R is both open source

More information

A Brief Introduction to R

A Brief Introduction to R A Brief Introduction to R Babak Shahbaba Department of Statistics, University of California, Irvine, USA Chapter 1 Introduction to R 1.1 Installing R To install R, follow these steps: 1. Go to http://www.r-project.org/.

More information

Mathematical Optimization and Data Science Day 1

Mathematical Optimization and Data Science Day 1 Mathematical Optimization and Data Science Day 1 Dolores Romero Morales Copenhagen Business School drm.eco@cbs.dk Winter School on Optimization and Operations Research Zinal, Switzerland 15/01/2018 Dolores

More information

POL 345: Quantitative Analysis and Politics

POL 345: Quantitative Analysis and Politics POL 345: Quantitative Analysis and Politics Precept Handout 1 Week 2 (Verzani Chapter 1: Sections 1.2.4 1.4.31) Remember to complete the entire handout and submit the precept questions to the Blackboard

More information

STENO Introductory R-Workshop: Loading a Data Set Tommi Suvitaival, Steno Diabetes Center June 11, 2015

STENO Introductory R-Workshop: Loading a Data Set Tommi Suvitaival, Steno Diabetes Center June 11, 2015 STENO Introductory R-Workshop: Loading a Data Set Tommi Suvitaival, tsvv@steno.dk, Steno Diabetes Center June 11, 2015 Contents 1 Introduction 1 2 Recap: Variables 2 3 Data Containers 2 3.1 Vectors................................................

More information

Chapter 1. Manage the data

Chapter 1. Manage the data 1.1. Coding of survey questions Appendix A shows a questionnaire with the corresponding coding sheet. Some observations of the selected variables are shown in the following table. AGE SEX JOB INCOME EDUCATE

More information

SUNROOF INFORMATION & FIT GUIDE Proper Location of Sunroof

SUNROOF INFORMATION & FIT GUIDE Proper Location of Sunroof SUNROOF INFORMATION & FIT GUIDE 1989-1995 Proper Location of Sunroof Determine the front to back position of the sunroof by placing the template inside the vehicle and determining the best possible position

More information

Lecture 2: Advanced data manipulation

Lecture 2: Advanced data manipulation Introduction to Stata- A. Chevalier Content of Lecture 2: Lecture 2: Advanced data manipulation -creating data -using dates -merging and appending datasets - wide and long -collapse 1 A] Creating data

More information

Lecture 06: Feb 04, Transforming Data. Functions Classes and Objects Vectorization Subsets. James Balamuta STAT UIUC

Lecture 06: Feb 04, Transforming Data. Functions Classes and Objects Vectorization Subsets. James Balamuta STAT UIUC Lecture 06: Feb 04, 2019 Transforming Data Functions Classes and Objects Vectorization Subsets James Balamuta STAT 385 @ UIUC Announcements hw02 is will be released Tonight Due on Wednesday, Feb 13th,

More information

Lecture 19: Oct 19, Advanced SQL. SQL Joins dbplyr SQL Injection Resources. James Balamuta STAT UIUC

Lecture 19: Oct 19, Advanced SQL. SQL Joins dbplyr SQL Injection Resources. James Balamuta STAT UIUC Lecture 19: Oct 19, 2018 Advanced SQL SQL Joins dbplyr SQL Injection Resources James Balamuta STAT 385 @ UIUC Announcements hw07 is due Friday, Nov 2nd, 2018 at 6:00 PM Office Hour Changes John Lee's are

More information

Introduction to R for Beginners, Level II. Jeon Lee Bio-Informatics Core Facility (BICF), UTSW

Introduction to R for Beginners, Level II. Jeon Lee Bio-Informatics Core Facility (BICF), UTSW Introduction to R for Beginners, Level II Jeon Lee Bio-Informatics Core Facility (BICF), UTSW Basics of R Powerful programming language and environment for statistical computing Useful for very basic analysis

More information

Data Import and Formatting

Data Import and Formatting Data Import and Formatting http://datascience.tntlab.org Module 4 Today s Agenda Importing text data Basic data visualization tidyverse vs data.table Data reshaping and type conversion Basic Text Data

More information

CPE Summer 2015 Exam I (150 pts) June 18, 2015

CPE Summer 2015 Exam I (150 pts) June 18, 2015 Name Closed notes and book. If you have any questions ask them. Write clearly and make sure the case of a letter is clear (where applicable) since C++ is case sensitive. You can assume that there is one

More information

Introduction to R. UCLA Statistical Consulting Center R Bootcamp. Irina Kukuyeva September 20, 2010

Introduction to R. UCLA Statistical Consulting Center R Bootcamp. Irina Kukuyeva September 20, 2010 UCLA Statistical Consulting Center R Bootcamp Irina Kukuyeva ikukuyeva@stat.ucla.edu September 20, 2010 Outline 1 Introduction 2 Preliminaries 3 Working with Vectors and Matrices 4 Data Sets in R 5 Overview

More information

Making Better Features: Principal Components Analysis and Other Data Transformations

Making Better Features: Principal Components Analysis and Other Data Transformations Making Better Features: Principal Components Analysis and Other Data Transformations 36-350: Data Mining 22 September 2008 Reading: Sections 2.4, 3.4, 3.5 and 3.6 in the textbook, especially Section 3.6

More information

Data Input/Output. Andrew Jaffe. January 4, 2016

Data Input/Output. Andrew Jaffe. January 4, 2016 Data Input/Output Andrew Jaffe January 4, 2016 Before we get Started: Working Directories R looks for files on your computer relative to the working directory It s always safer to set the working directory

More information

An introduction to R WS 2013/2014

An introduction to R WS 2013/2014 An introduction to R WS 2013/2014 Dr. Noémie Becker (AG Metzler) Dr. Sonja Grath (AG Parsch) Special thanks to: Dr. Martin Hutzenthaler (previously AG Metzler, now University of Frankfurt) course development,

More information

Statistics 133 Midterm Exam

Statistics 133 Midterm Exam Statistics 133 Midterm Exam March 2, 2011 When I ask for an R program, I mean one or more R commands. Try your best to make your answers general, i.e. they shouldn t depend on the specific values presented

More information

CS Introduction to Computational and Data Science. Instructor: Renzhi Cao Computer Science Department Pacific Lutheran University Spring 2017

CS Introduction to Computational and Data Science. Instructor: Renzhi Cao Computer Science Department Pacific Lutheran University Spring 2017 CS 133 - Introduction to Computational and Data Science Instructor: Renzhi Cao Computer Science Department Pacific Lutheran University Spring 2017 Announcement Read book to page 44. Final project Today

More information

social data science Introduction to R Sebastian Barfort August 07, 2016 University of Copenhagen Department of Economics 1/40

social data science Introduction to R Sebastian Barfort August 07, 2016 University of Copenhagen Department of Economics 1/40 social data science Introduction to R Sebastian Barfort August 07, 2016 University of Copenhagen Department of Economics 1/40 welcome Course Description The objective of this course is to learn how to

More information

1. INTRODUCTION DTD-CODE USER GUIDE

1. INTRODUCTION DTD-CODE USER GUIDE 1. INTRODUCTION - DTD-Code software is a product of DTDAUTO Technology Team, Vietnam. It is the professional software lookups fault codes of vehicle. - Product supported large expand database for all of

More information

Lecture 1: Getting Started and Data Basics

Lecture 1: Getting Started and Data Basics Lecture 1: Getting Started and Data Basics The first lecture is intended to provide you the basics for running R. Outline: 1. An Introductory R Session 2. R as a Calculator 3. Import, export and manipulate

More information