Introduction to R syntax: part 2: factors, matrices, arrays, lists, and data frames
Introduction to R syntax: part 2: factors, matrices, arrays, lists, and data frames Online
After these tutorials you will be able to read and write R scripts to do computations, data manipulation, and simple analysis. You will get hands-on coding experience via a web application, no software installation is required to attend. The goal is to explain the rules of the R syntax in general terms so you can make more sense of an introductory book or of the recipes you will find when searching for solutions on the internet. This tutorial is full of short exercises and code examples and it is directed to undergraduate or graduate students interested in learning R to apply it in assignments, projects, or theses but with no programming experience.
- Part 1 covers using operators, expressions, variables, and built-in functions in R. Understanding assignment and how arguments work when calling functions. The data types and structures R offers to model data. Introduction to vectors.
- Part 2 covers the remaining data structures to model and manipulate data: factors, matrices, arrays, lists, and finally, the workhorse of data analysis, the data frame. We will study the basics of subsetting and ordering for data structures. Finally, we will have a look at user functions and basic control flow.
Pablo Adames has a Master of Software Engineering from the University of Calgary (2019). He has 12 years of software developer experience, including developing oil and gas simulation software modules implementing physics-based hydraulic models for Pipeflo, Wellflo and Pipesim, and unsupervised machine learning for mathematical model selection using field data.
- Wednesday, February 17, 2021
- 4:00pm - 5:00pm
- Time Zone:
- Mountain Time - US & Canada (change)
- This is an online event. Event URL will be sent via registration email.