Introduction to R Carolina Ferrari
|
|
- Bertina Walker
- 5 years ago
- Views:
Transcription
1 Introduction to R Carolina Ferrari carolina.ferrari01@universitadipavia.it Microbiology and Virology Unit, IRCCS Policlinico San Matteo
2 What is R? R is a system for statistical analyses (linear and nonlinear modelling, classical statistical tests, time-series analysis, classification, clustering,...) and graphics. R is both a software and a language (S language). Good things about R - It's free - It works on all platforms (Linux, Windows, Mac) - It can deal with much larger datasets than Excel for example - Graphs can be produced to your own specification - It can be used to perform powerful statistical analysis - It is well supported and documented Bad things about R - It can struggle to cope with extremely large datasets - The environment can be daunting if you don't have any programming experience
3 How to install R Download R from the web page and install it. Select your version and click to download
4 How to install RStudio In this course we will use RStudio that is a GUI (Graphical User Interface) available for R. It is a graphical interface that helps the programmer making R more user-friendly. Download RStudio from the web page.
5 Select your version and click to download
6 Welcome to RStudio
7 R as calculator For sum, subtraction, multiplication and division operations use the usual symbols: + - * / Power elevation is used: ** or ^ > 18*2 [1] 36 > 2+3*4 [1] 14 > (2+3)*4 You should pay attention to the use of brackets [1] 20
8 Variable: in the context of programming, is a symbolic name given to an object (number, string, matrix,...) We can represent it as a box in which you put your object. In your program you will refer to your object using the name of the box (the name of the variable). e.g. if Kiwi is our object, we can put it into a variable called Fruits Fruits Kiwi
9 e.g. if Kiwi is our object, we can put it into a variable called Fruits Fruits Kiwi How to do it in R Assignment simbol variable_name <- "object_name" > Fruits <- "Kiwi" In R double quotes represent a string!! If you want to see what a variable contains, print the variable_name > Fruits [1] "Kiwi"
10 Vector: single entity consisting of an ordered collection of variables We can represent it as a box partitioned in many numbered sectors: in each sector you can put an object and then retrieve it knowing the vector name and the object's position in the vector. e.g. if Fruits is our vector we can fill it so Fruits Kiwi Apple Peach Pear
11 Fruits Kiwi Apple Peach Pear How to do it in R Function to combine values in a vector vector_name <- c("object_1", "object_2", "object_3", "object_4",...) > Fruits <- c("kiwi", "Apple", "Peach", "Pear") > Fruits [1] "Kiwi" "Apple" "Peach" "Pear" If a command is not complete at the end of a line, R gives a prompt, by default + on second and subsequent lines and continue to read input until the command is syntactically complete.
12 Function: is a procedure that gets one (or more) input (e.g a variable, a vector, a matrix, a number,...) and a list of parameters and do something with them How to do it in R arguments function_name(input, parameter1, parameter2,...) open and closed brackets If you want to save the result of the function into a variable: output_name <- function_name(input, parameter1, parameter2,...)
13 Fruits Kiwi Apple Peach Pear How to get an object from a vector: vector_name[position in the vector] > Fruits[2] [1] "Apple" How to know the length of a vector: length(vector_name) > length(fruits) [1] 4
14 Practice - Generate a vector of the seasons and call it Seasons - Determine the length of the vector - Extract the season of your birthday
15 Solution - Generate a vector of the seasons and call it Seasons - Determine the length of the vector - Extract the season of your birthday > Seasons <- c("winter", "Spring", "Summer", "Autumn") > Seasons [1] "Winter" "Spring" "Summer" "Autumn" > length(seasons) [1] 4 > Seasons[3] [1] "Summer" My birthday is August 10th, thus
16 Variable: in the context of programming, is a symbolic name given to an object Vector: single entity consisting of an ordered collection of variables Three ways to create a number vector: 1) colon operator : > t <- 1:16 > t [1] ) c( ) function > n <- c(13, 15, 11, 12, 19, 11, 17, 19, 46, 82, 24) > n [1] ) seq( ) function > p <- seq(1, 40, by=5) > p [1]
17 > n <- c(13, 15, 11, 12, 19, 11, 17, 19, 46, 82, 24) > n [1] How to reverse a vector: rev(vector_name) > rev(n) [1] How to sort a vector: sort(vector_name) > sort(n) [1]
18 > n <- c(13, 15, 11, 12, 19, 11, 17, 19, 46, 82, 24) > n [1] How to know the largest element of a vector: max(vector_name) > max(n) [1] 82 How to know the smallest element of a vector: mim(vector_name) > min(n) [1] 11 How to know minimum and maximum of all the given arguments: range(vector_name) > range(n) [1] 11 82
19 Matrix: is a two dimension collection of variables. 1 Kiwi Apple Peach Pear Rows 2 Winter Spring Summer Autumn 3 Brown Red Yellow Green Columns To build a matrix we have to use a specific R function
20 To build the matrix we use the function matrix 1 Kiwi Apple Peach Pear Rows 2 Winter Spring Summer Autumn 3 Brown Red Yellow Green Columns matrix_name <- matrix(vector of objects of the table, ncol=number of columns, nrow=number of rows, byrow=true) > Fruits <- matrix(c("kiwi", "Apple", "Peach", "Pear", "Winter", "Spring", "Summer", "Autumn", "Brown", "Red", "Yellow", "Green"), ncol=4, nrow=3, byrow=true)
21 byrow is a logical argument. If FALSE (the default) the matrix is filled by columns, otherwise the matrix is filled by rows byrow = TRUE byrow = FALSE
22 byrow is a logical argument. If FALSE (the default) the matrix is filled by columns, otherwise the matrix is filled by rows. Try to execute the command without byrow = TRUE
23 byrow is a logical argument. If FALSE (the default) the matrix is filled by columns, otherwise the matrix is filled by rows. > Fruits <- matrix(c("kiwi", "Apple", "Peach", "Pear", "Winter", "Spring", "Summer", "Autumn", "Brown", "Red", "Yellow", "Green"), ncol=4, nrow=3, byrow=true) > Fruits with byrow=true [,1] [,2] [,3] [,4] [1,] "Kiwi" "Apple" "Peach" "Pear" [2,] "Winter" "Spring" "Summer" "Autumn" [3,] "Brown" "Red" "Yellow" "Green" > Fruits <- matrix(c("kiwi", "Apple", "Peach", "Pear", "Winter", "Spring", "Summer", "Autumn", "Brown", "Red", "Yellow", "Green"), ncol=4, nrow=3) > Fruits without byrow=true [,1] [,2] [,3] [,4] [1,] "Kiwi" "Pear" "Summer" "Red" [2,] "Apple" "Winter" "Autumn" "Yellow" [3,] "Peach" "Spring" "Brown" "Green"
24 Practice Generate a matrix called Animals, with 3 columns and 2 rows, to represent the following: Animals Lion Cow Cat Carnivorous Erbivore Carnivorous
25 Solution 1 Generate a matrix called Animals, with 3 columns and 2 rows, to represent the following: Animals Lion Cow Cat Carnivorous Erbivore Carnivorous > Animals <- matrix(c("lion", "Cow", "Cat", "Carnivorous", "Erbivore", "Carnivorous"), ncol=3, nrow=2, byrow=true) > Animals [,1] [,2] [,3] [1,] "Lion" "Cow" "Cat" [2,] "Carnivorous" "Erbivore" "Carnivorous"
26 Solution 2 Generate a matrix called Animals, with 3 columns and 2 rows, to represent the following: Animals Lion Cow Cat Carnivorous Erbivore Carnivorous > animal_name <- c("lion", "Cow", "Cat") > diet <- c("carnivorous", "Erbivore", "Carnivorous") > Animals <- matrix(c(animal_name, diet), nrow=2, byrow=true) > Animals [,1] [,2] [,3] [1,] "Lion" "Cow" "Cat" [2,] "Carnivorous" "Erbivore" "Carnivorous" I used the c() function to concatenate two vectors!!
27 We can use the R help function to understand how to use a function: which kind of inputs it accepts and which parameters we can set >?function_name > help(function_name)
28 Practise at home Practice - Generate a vector called Exams with the subjects: Genetics, Microbiology, Bioinformatics, Mathematics, English - Generate a vector of five random numbers between 18 and 30. Call it Grades - Generate a matrix called University having 2 columns: Exams and Grades
29 Practise at home SOLUTION > Exams <- c("genetics", "Microbiology", "Bioinformatics", "Mathematics", "English") > Exams [1] "Genetics" "Microbiology" "Bioinformatics" "Mathematics" [5] "English" > Grades <- c(21, 26, 30, 18, 23) > Grades [1] > University <- matrix(c(exams, Grades), ncol=2) > University [,1] [,2] [1,] "Genetics" "21" [2,] "Microbiology" "26" [3,] "Bioinformatics" "30" [4,] "Mathematics" "18" [5,] "English" "23"
The Beginning g of an Introduction to R Dan Nettleton
The Beginning g of an Introduction to R for New Users 2010 Dan Nettleton 1 Preliminaries Throughout these slides, red text indicates text that is typed at the R prompt or text that is to be cut from a
More informationThis document is designed to get you started with using R
An Introduction to R This document is designed to get you started with using R We will learn about what R is and its advantages over other statistics packages the basics of R plotting data and graphs What
More informationMails : ; 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 informationIntroduction to MATLAB. Simon O Keefe Non-Standard Computation Group
Introduction to MATLAB Simon O Keefe Non-Standard Computation Group sok@cs.york.ac.uk Content n An introduction to MATLAB n The MATLAB interfaces n Variables, vectors and matrices n Using operators n Using
More informationSTAT 540: R: Sections Arithmetic in R. Will perform these on vectors, matrices, arrays as well as on ordinary numbers
Arithmetic in R R can be viewed as a very fancy calculator Can perform the ordinary mathematical operations: + - * / ˆ Will perform these on vectors, matrices, arrays as well as on ordinary numbers With
More informationAn Introductory Tutorial: Learning R for Quantitative Thinking in the Life Sciences. Scott C Merrill. September 5 th, 2012
An Introductory Tutorial: Learning R for Quantitative Thinking in the Life Sciences Scott C Merrill September 5 th, 2012 Chapter 2 Additional help tools Last week you asked about getting help on packages.
More informationEPIB Four Lecture Overview of R
EPIB-613 - Four Lecture Overview of R R is a package with enormous capacity for complex statistical analysis. We will see only a small proportion of what it can do. The R component of EPIB-613 is divided
More informationPhysics 326G Winter Class 2. In this class you will learn how to define and work with arrays or vectors.
Physics 326G Winter 2008 Class 2 In this class you will learn how to define and work with arrays or vectors. Matlab is designed to work with arrays. An array is a list of numbers (or other things) arranged
More informationModule 1: Introduction RStudio
Module 1: Introduction RStudio Contents Page(s) Installing R and RStudio Software for Social Network Analysis 1-2 Introduction to R Language/ Syntax 3 Welcome to RStudio 4-14 A. The 4 Panes 5 B. Calculator
More informationMBV4410/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 informationOne-dimensional Array
One-dimensional Array ELEC 206 Prof. Siripong Potisuk 1 Defining 1-D Array Also known as a vector A list of numbers arranged in a row row vector or a column column vector A scalar variable is a one-element
More informationBasic R Part 1 BTI Plant Bioinformatics Course
Basic R Part 1 BTI Plant Bioinformatics Course Spring 2013 Sol Genomics Network Boyce Thompson Institute for Plant Research by Jeremy D. Edwards What is R? Statistical programming language Derived from
More informationIntroduction to R, Github and Gitlab
Introduction to R, Github and Gitlab 27/11/2018 Pierpaolo Maisano Delser mail: maisanop@tcd.ie ; pm604@cam.ac.uk Outline: Why R? What can R do? Basic commands and operations Data analysis in R Github and
More informationAn Introduction to R 1.1 Getting started
An Introduction to R 1.1 Getting started Dan Navarro (daniel.navarro@adelaide.edu.au) School of Psychology, University of Adelaide ua.edu.au/ccs/people/dan DSTO R Workshop, 29-Apr-2015 There s a book http://ua.edu.au/ccs/teaching/lsr/
More informationIntroduction 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 informationSTAT 113: R/RStudio Intro
STAT 113: R/RStudio Intro Colin Reimer Dawson Last Revised September 1, 2017 1 Starting R/RStudio There are two ways you can run the software we will be using for labs, R and RStudio. Option 1 is to log
More informationClaNC: The Manual (v1.1)
ClaNC: The Manual (v1.1) Alan R. Dabney June 23, 2008 Contents 1 Installation 3 1.1 The R programming language............................... 3 1.2 X11 with Mac OS X....................................
More informationIntroducing: main Function, Comments, Statements
Once you're seated, please respond to the poll at pollev.com/compunc If you are not registered for PollEverywhere, please go ahead and do so before class begins! Lecture 01 Take on Me Practice: Primitive
More informationLesson 06. Excel Functions
Lesson 06 Excel Functions Basic functions: SUM: Adds a range of cells together AVERAGE: Calculates the average of a range of cells COUNT: Counts the number of chosen data in a range of cells MAX: Identifies
More informationConcepts of Database Management Eighth Edition. Chapter 2 The Relational Model 1: Introduction, QBE, and Relational Algebra
Concepts of Database Management Eighth Edition Chapter 2 The Relational Model 1: Introduction, QBE, and Relational Algebra Relational Databases A relational database is a collection of tables Each entity
More informationII.Matrix. Creates matrix, takes a vector argument and turns it into a matrix matrix(data, nrow, ncol, byrow = F)
II.Matrix A matrix is a two dimensional array, it consists of elements of the same type and displayed in rectangular form. The first index denotes the row; the second index denotes the column of the specified
More informationFormulas and Functions
Conventions used in this document: Keyboard keys that must be pressed will be shown as Enter or Ctrl. Controls to be activated with the mouse will be shown as Start button > Settings > System > About.
More informationSMS 3515: Scientific Computing Lecture 1: Introduction to Matlab 2014
SMS 3515: Scientific Computing Lecture 1: Introduction to Matlab 2014 Instructor: Nurul Farahain Mohammad 1 It s all about MATLAB What is MATLAB? MATLAB is a mathematical and graphical software package
More informationLinux Tutorial #4. Redirection. Output redirection ( > )
Linux Tutorial #4 Redirection Most processes initiated by Linux commands write to the standard output (that is, they write to the terminal screen), and many take their input from the standard input (that
More informationExamples of Using the ARGV Array. Loop Control Operators. Next Operator. Last Operator. Perl has three loop control operators.
Examples of Using the ARGV Array # mimics the Unix echo utility foreach (@ARGV) { print $_ ; print \n ; # count the number of command line arguments $i = 0; foreach (@ARGV) { $i++; print The number of
More informationIntro to R. Fall Fall 2017 CS130 - Intro to R 1
Intro to R Fall 2017 Fall 2017 CS130 - Intro to R 1 Intro to R R is a language and environment that allows: Data management Graphs and tables Statistical analyses You will need: some basic statistics We
More informationStat 579: Objects in R Vectors
Stat 579: Objects in R Vectors Ranjan Maitra 2220 Snedecor Hall Department of Statistics Iowa State University. Phone: 515-294-7757 maitra@iastate.edu, 1/23 Logical Vectors I R allows manipulation of logical
More informationArmstrong State University Engineering Studies MATLAB Marina 2D Arrays and Matrices Primer
Armstrong State University Engineering Studies MATLAB Marina 2D Arrays and Matrices Primer Prerequisites The 2D Arrays and Matrices Primer assumes knowledge of the MATLAB IDE, MATLAB help, arithmetic operations,
More informationIntroduction to R (& Rstudio) Fall R Workshop August 23-24, 2016
Introduction to R (& Rstudio) Fall R Workshop August 23-24, 2016 Why R? FREE Open source Constantly updating the functions is has Constantly adding new functions Learning R will help you learn other programming
More informationMicrosoft Excel 2010 Training. Excel 2010 Basics
Microsoft Excel 2010 Training Excel 2010 Basics Overview Excel is a spreadsheet, a grid made from columns and rows. It is a software program that can make number manipulation easy and somewhat painless.
More informationDr. Nahid Sanzida b e. uet .ac.
ChE 208 Lecture # 5_2 MATLAB Basics Dr. Nahid Sanzida nahidsanzida@che.buet.ac.bd h bd Most of the slides in this part contains practice problems. Students are strongly gyadvised to practise all the examples
More informationIntroduction to R. Stat Statistical Computing - Summer Dr. Junvie Pailden. July 5, Southern Illinois University Edwardsville
Introduction to R Stat 575 - Statistical Computing - Summer 2016 Dr. Junvie Pailden Southern Illinois University Edwardsville July 5, 2016 Why R R offers a powerful and appealing interactive environment
More informationComputer Applications Final Exam Study Guide
Computer Applications Final Exam Study Guide Our final exam is based from the quizzes, tests, and from skills we have learned about Hardware, PPT, Word, Excel and HTML during our Computer Applications
More informationBIOS 546 Midterm March 26, Write the line of code that all Perl programs on biolinx must start with so they can be executed.
1. What values are false in Perl? BIOS 546 Midterm March 26, 2007 2. Write the line of code that all Perl programs on biolinx must start with so they can be executed. 3. How do you make a comment in Perl?
More informationM i c r o s o f t E x c e l A d v a n c e d. Microsoft Excel 2010 Advanced
Microsoft Excel 2010 Advanced 0 Working with Rows, Columns, Formulas and Charts Formulas A formula is an equation that performs a calculation. Like a calculator, Excel can execute formulas that add, subtract,
More informationPlease Excuse My Dear Aunt Sally
Instructional strategies - math Math Hierarchy - Order of Operations PEMDAS P E M/D A/S Parenthesis first Exponents, square roots Multiplication and Division (left to right) Addition and Subtraction (left
More informationIntermediate Excel 2016
Intermediate Excel 2016 Relative & Absolute Referencing Relative Referencing When you copy a formula to another cell, Excel automatically adjusts the cell reference to refer to different cells relative
More informationLecture (03) Arrays. By: Dr. Ahmed ElShafee. Dr. Ahmed ElShafee, ACU : Spring 2018, HUM107 Introduction to Engineering
Lecture (03) Arrays By: Dr. Ahmed ElShafee ١ Dr. Ahmed ElShafee, ACU : Spring 2018, HUM107 Introduction to Engineering Characters and Strings Strings are defined by delimiting text with single quotation
More informationLISTS WITH PYTHON. José M. Garrido Department of Computer Science. May College of Computing and Software Engineering Kennesaw State University
LISTS WITH PYTHON José M. Garrido Department of Computer Science May 2015 College of Computing and Software Engineering Kennesaw State University c 2015, J. M. Garrido Lists with Python 2 Lists with Python
More informationConcatenate Function Page 505
Concatenate Function Page 505 The Concatenate Function is used to tie together different text strings. It is useful, for example, if you have columns in your Excel workbook for First Name and Last Name
More informationJavaScript Basics. The Big Picture
JavaScript Basics At this point, you should have reached a certain comfort level with typing and running JavaScript code assuming, of course, that someone has already written it for you This handout aims
More informationCS 1301 Exam 1 Fall 2010
CS 1301 Exam 1 Fall 2010 Name : Grading TA: Integrity: By taking this exam, you pledge that this is your work and you have neither given nor received inappropriate help during the taking of this exam in
More informationComputer Vision. Matlab
Computer Vision Matlab A good choice for vision program development because Easy to do very rapid prototyping Quick to learn, and good documentation A good library of image processing functions Excellent
More informationEnglish 3 rd Grade M-Z Vocabulary Cards and Word Walls Revised: 1/13/14
English 3 rd Grade M-Z Vocabulary Cards and Word Walls Revised: 1/13/14 Important Notes for Teachers: The vocabulary cards in this file match the Common Core, the math curriculum adopted by the Utah State
More informationData 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 informationlimma: A brief introduction to R
limma: A brief introduction to R Natalie P. Thorne September 5, 2006 R basics i R is a command line driven environment. This means you have to type in commands (line-by-line) for it to compute or calculate
More informationR Tutorial. Anup Aprem September 13, 2016
R Tutorial Anup Aprem aaprem@ece.ubc.ca September 13, 2016 Installation Installing R: https://www.r-project.org/ Recommended to also install R Studio: https://www.rstudio.com/ Vectors Basic element is
More informationCSc 110 Sample Midterm Exam #2
1. Collections Mystery Consider the following function: CSc 110 Sample Midterm Exam #2 def mystery(m): s = set() for key in m.keys(): if (m[key]!= key): s.add(m[key]) else: s.add(m[key][0]) print(s) Write
More informationStatistical Software Camp: Introduction to R
Statistical Software Camp: Introduction to R Day 1 August 24, 2009 1 Introduction 1.1 Why Use R? ˆ Widely-used (ever-increasingly so in political science) ˆ Free ˆ Power and flexibility ˆ Graphical capabilities
More informationCSC 505, Spring 2005 Week 6 Lectures page 1 of 9
CSC 505, Spring 2005 Week 6 Lectures page 1 of 9 Objectives: learn general strategies for problems about order statistics learn how to find the median (or k-th largest) in linear average-case number of
More informationCME 192: Introduction to Matlab
CME 192: Introduction to Matlab Matlab Basics Brett Naul January 15, 2015 Recap Using the command window interactively Variables: Assignment, Identifier rules, Workspace, command who and whos Setting the
More informationCPSC 217 Assignment 4
CPSC 217 Assignment 4 Due: Friday December 8, 2017 at 11:55pm Weight: 7% Sample Solution Length: Approximately 130 lines (No comments and no code for the A+ part) Individual Work: All assignments in this
More informationVectors and Matrices Flow Control Plotting Functions Simulating Systems Installing Packages Getting Help Assignments. R Tutorial
R Tutorial Anup Aprem aaprem@ece.ubc.ca September 14, 2017 Installation Installing R: https://www.r-project.org/ Recommended to also install R Studio: https://www.rstudio.com/ Vectors Basic element is
More informationCSC Software I: Utilities and Internals. Programming in Python
CSC 271 - Software I: Utilities and Internals Lecture #8 An Introduction to Python Programming in Python Python is a general purpose interpreted language. There are two main versions of Python; Python
More informationMicrosoft Excel. Part 2: Calculations & Functions. Department of Computer Science Faculty of Science Chiang Mai University
Microsoft Excel Part 2: Calculations & Functions Department of Computer Science Faculty of Science Chiang Mai University Outlines 1. Creating you own formula 2. Using functions in Excel 3. Using cell references
More informationCoVec. Covington Vector Semantics Tools. Michael A. Covington, Ph.D September 19
CoVec Covington Vector Semantics Tools Michael A. Covington, Ph.D. 2016 September 19 Page 2 of 10 About CoVec CoVec, the Covington Vector Semantics Tools, is a set of software tools for comparing words
More informationInstalling and running R
Installing and running R The R website: http://www.r-project.org/ R on the web here you can find information on the software, download the current version R-2.9.2 (released on 2009-08-24), packages, tutorials
More informationKey Terms. Writing Algebraic Expressions. Example
Chapter 6 Summary Key Terms variable (6.1) algebraic expression (6.1) evaluate an algebraic expression (6.1) Distributive Property of Multiplication over Addition (6.2) Distributive Property of Multiplication
More informationName: Class: Date: Access Module 2
1. To create a new query in Design view, click CREATE on the ribbon to display the CREATE tab and then click the button to create a new query. a. Query b. Design View c. Query Design d. Select Query ANSWER:
More informationPOL 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 informationUSER MANUAL. Contents. Analytic Reporting Tool Basic for SUITECRM
USER MANUAL Analytic Reporting Tool Basic for SUITECRM Contents ANALYTIC REPORTING TOOL FEATURE OVERVIEW... 2 PRE-DEFINED REPORT LIST AND FOLDERS... 3 REPORT AND CHART SETTING OVERVIEW... 5 Print Report,
More informationExcel 2. Module 2 Formulas & Functions
Excel 2 Module 2 Formulas & Functions Revised 1/1/17 People s Resource Center Module Overview This module is part of the Excel 2 course which is for advancing your knowledge of Excel. During this lesson
More informationDM 505 Database Design and Programming. Spring 2012 Project. Department of Mathematics and Computer Science University of Southern Denmark
DM 505 Database Design and Programming Spring 2012 Project Department of Mathematics and Computer Science University of Southern Denmark February 20, 2012 2 Introduction The purpose of this project is
More informationCS150 - Sample Final
CS150 - Sample Final Name: Honor code: You may use the following material on this exam: The final exam cheat sheet which I have provided The matlab basics handout (without any additional notes) Up to two
More informationPart I. Wei Tianwen. A Brief Introduction to Python. Part I. Wei Tianwen. Basics. Object Oriented Programming
2017 Table of contents 1 2 Integers and floats Integer int and float float are elementary numeric types in. integer >>> a=1 >>> a 1 >>> type (a) Integers and floats Integer int and float
More information[Y2] Counting and understanding number. [Y2] Counting and understanding number. [Y2] Counting and understanding number
Medium Term Plan : Year 2 Autumn Term Block A1.a: Count on and back in 1s or 10s from a 2- digit number; write figures up to 100 Block A1.b: Begin to count up to 100 objects by grouping in 5s or 10s; estimate
More informationCS 1110, LAB 1: EXPRESSIONS AND ASSIGNMENTS First Name: Last Name: NetID:
CS 1110, LAB 1: EXPRESSIONS AND ASSIGNMENTS http://www.cs.cornell.edu/courses/cs1110/2018sp/labs/lab01/lab01.pdf First Name: Last Name: NetID: Learning goals: (1) get hands-on experience using Python in
More informationPython Programming: Lecture 2 Data Types
Python Programming: Lecture 2 Data Types Lili Dworkin University of Pennsylvania Last Week s Quiz 1..pyc files contain byte code 2. The type of math.sqrt(9)/3 is float 3. The type of isinstance(5.5, float)
More informationIntroduction to Python Programming
advances IN SYSTEMS AND SYNTHETIC BIOLOGY 2018 Anna Matuszyńska Oliver Ebenhöh oliver.ebenhoeh@hhu.de Ovidiu Popa ovidiu.popa@hhu.de Our goal Learning outcomes You are familiar with simple mathematical
More informationR is a programming language of a higher-level Constantly increasing amount of packages (new research) Free of charge Website:
Introduction to R R R is a programming language of a higher-level Constantly increasing amount of packages (new research) Free of charge Website: http://www.r-project.org/ Code Editor: http://rstudio.org/
More informationGS Analysis of Microarray Data
GS01 0163 Analysis of Microarray Data Keith Baggerly and Kevin Coombes Section of Bioinformatics Department of Biostatistics and Applied Mathematics UT M. D. Anderson Cancer Center kabagg@mdanderson.org
More informationaddition + =5+C2 adds 5 to the value in cell C2 multiplication * =F6*0.12 multiplies the value in cell F6 by 0.12
BIOL 001 Excel Quick Reference Guide (Office 2010) For your lab report and some of your assignments, you will need to use Excel to analyze your data and/or generate graphs. This guide highlights specific
More informationSTAT 20060: Statistics for Engineers. Statistical Programming with R
STAT 20060: Statistics for Engineers Statistical Programming with R Why R? Because it s free to download for everyone! Most statistical software is very, very expensive, so this is a big advantage. Statisticians
More informationCS2141 Software Development using C/C++ C++ Basics
CS2141 Software Development using C/C++ C++ Basics Integers Basic Types Can be short, long, or just plain int C++ does not define the size of them other than short
More informationcs61amt2_4 CS 61A Midterm #2 ver March 2, 1998 Exam version: A Your name login: cs61a- Discussion section number TA's name
CS 61A Midterm #2 ver1.03 -- March 2, 1998 Exam version: A Your name login: cs61a- Discussion section number TA's name Look at the edge of your seat. Write your ROOM, seat row and number. Your row number
More informationReview Ch. 15 Spreadsheet and Worksheet Basics. 2010, 2006 South-Western, Cengage Learning
Review Ch. 15 Spreadsheet and Worksheet Basics 2010, 2006 South-Western, Cengage Learning Excel Worksheet Slide 2 Move Around a Worksheet Use the mouse and scroll bars Use and (or TAB) Use PAGE UP and
More informationEssential Linux Shell Commands
Essential Linux Shell Commands Special Characters Quoting and Escaping Change Directory Show Current Directory List Directory Contents Working with Files Working with Directories Special Characters There
More information3RD GRADE COMMON CORE VOCABULARY M-Z
o o o 3RD GRADE COMMON CORE VOCABULARY M-Z mass mass mass The amount of matter in an object. Usually measured by comparing with an object of known mass. While gravity influences weight, it does not affect
More informationAltia Hint Sheet Investigation Toolkit:
Altia Hint Sheet Investigation Toolkit: Processing Abbey Statements Scope This sheet provides information on how to deal with Abbey statements where the debit and credit values are printed in the same
More informationMATH& 146 Lesson 8. Section 1.6 Averages and Variation
MATH& 146 Lesson 8 Section 1.6 Averages and Variation 1 Summarizing Data The distribution of a variable is the overall pattern of how often the possible values occur. For numerical variables, three summary
More informationR Basics / Course Business
R Basics / Course Business We ll be using a sample dataset in class today: CourseWeb: Course Documents " Sample Data " Week 2 Can download to your computer before class CourseWeb survey on research/stats
More informationInstallation and Introduction to Jupyter & RStudio
Installation and Introduction to Jupyter & RStudio CSE 4/587 Data Intensive Computing Spring 2017 Prepared by Jacob Condello 1 Anaconda/Jupyter Installation 1.1 What is Anaconda? Anaconda is a freemium
More informationSTA 248 S: Some R Basics
STA 248 S: Some R Basics The real basics The R prompt > > # A comment in R. Data To make the variable x equal to 2 use > x x = 2 To make x a vector, use the function c() ( c for concatenate)
More informationSTAT 213: R/RStudio Intro
STAT 213: R/RStudio Intro Colin Reimer Dawson Last Revised February 10, 2016 1 Starting R/RStudio Skip to the section below that is relevant to your choice of implementation. Installing R and RStudio Locally
More informationIntroduction to R: Using R for statistics and data analysis
Why use R? Introduction to R: Using R for statistics and data analysis George W Bell, Ph.D. BaRC Hot Topics November 2014 Bioinformatics and Research Computing Whitehead Institute http://barc.wi.mit.edu/hot_topics/
More informationBasic matrix math in R
1 Basic matrix math in R This chapter reviews the basic matrix math operations that you will need to understand the course material and how to do these operations in R. 1.1 Creating matrices in R Create
More informationChapter 1 Introduction to MATLAB
Chapter 1 Introduction to MATLAB 1.1 What is MATLAB? MATLAB = MATrix LABoratory, the language of technical computing, modeling and simulation, data analysis and processing, visualization and graphics,
More informationVariables are used to store data (numbers, letters, etc) in MATLAB. There are a few rules that must be followed when creating variables in MATLAB:
Contents VARIABLES... 1 Storing Numerical Data... 2 Limits on Numerical Data... 6 Storing Character Strings... 8 Logical Variables... 9 MATLAB S BUILT-IN VARIABLES AND FUNCTIONS... 9 GETTING HELP IN MATLAB...
More informationEE 301 Signals & Systems I MATLAB Tutorial with Questions
EE 301 Signals & Systems I MATLAB Tutorial with Questions Under the content of the course EE-301, this semester, some MATLAB questions will be assigned in addition to the usual theoretical questions. This
More informationA 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 informationA brief introduction to SCILAB
A brief introduction to SCILAB SCILAB is a powerful and versatile package for mathematical modelling and an excellent tool for solving a wide range of engineering problems. SCILAB supports simple interactive
More informationFall 2018 CSE 482 Big Data Analysis: Exam 1 Total: 36 (+3 bonus points)
Fall 2018 CSE 482 Big Data Analysis: Exam 1 Total: 36 (+3 bonus points) Name: This exam is open book and notes. You can use a calculator but no laptops, cell phones, nor other electronic devices are allowed.
More information"a computer programming language commonly used to create interactive effects within web browsers." If actors and lines are the content/html......
JAVASCRIPT. #5 5.1 Intro 3 "a computer programming language commonly used to create interactive effects within web browsers." If actors and lines are the content/html...... and the director and set are
More informationWhy use R? Getting started. Why not use R? Introduction to R: It s hard to use at first. To perform inferential statistics (e.g., use a statistical
Why use R? Introduction to R: Using R for statistics ti ti and data analysis BaRC Hot Topics November 2013 George W. Bell, Ph.D. http://jura.wi.mit.edu/bio/education/hot_topics/ To perform inferential
More informationR basics workshop Sohee Kang
R basics workshop Sohee Kang Math and Stats Learning Centre Department of Computer and Mathematical Sciences Objective To teach the basic knowledge necessary to use R independently, thus helping participants
More informationPerformance Assessment Spring 2001
Cover Page of Exam Mathematics Assessment Collaborative Course Grade Two 3 Performance Assessment Spring 2001 District's Student Id # District's Student Id # District's Student Id # (Option: District District's
More informationGoals of this course. Crash Course in R. Getting Started with R. What is R? What is R? Getting you setup to use R under Windows
Oxford Spring School, April 2013 Effective Presentation ti Monday morning lecture: Crash Course in R Robert Andersen Department of Sociology University of Toronto And Dave Armstrong Department of Political
More information"Full Coverage": Algebraic Proofs involving Integers
"Full Coverage": Algebraic Proofs involving Integers This worksheet is designed to cover one question of each type seen in past papers, for each GCSE Higher Tier topic. This worksheet was automatically
More informationCode Matrix Browser: Visualizing Codes per Document
Visual Tools Visual Tools Code Matrix Browser: Visualizing Codes per Document The Code Matrix Browser (CMB) offers you a new way of visualizing which codes have been assigned to which documents. The matrix
More informationPython for Astronomers. Week 1- Basic Python
Python for Astronomers Week 1- Basic Python UNIX UNIX is the operating system of Linux (and in fact Mac). It comprises primarily of a certain type of file-system which you can interact with via the terminal
More information