Enjoying the preview?
This is the free first lesson. Get full access — request a demo or sign in.
Enjoying the preview?
This is the free first lesson. Get full access — request a demo or sign in.
How can you explore the data types and structures in R, or change them as needed? How can you control the flow of your R code, or the structure of your data subsets? Data types, object attributes, and conditional statements are foundational in R. Learning how to create the right conditional statements for control flow and data subsetting is an essential skill for any R programmer. The topics discussed in these lessons will build on your understanding of the R language and form a foundation for vectorization, scaling functional programming, and class concepts.
In these lessons, you will learn how to write R functions with conditional control flow. We will explore the base data structures in R including class properties and attributes, along with functional programming concepts. By the end of these lessons, you will be able to write conditional statements and apply them to control flow and to subset data structures.
It is intended for R programmers looking to build on their understanding of the R language, covering foundational concepts like data types, object attributes, and conditional statements.
It covers base data types, class attributes and structures in R, logical conditions and operators, conditional control flow, functions, functional programming concepts, and subsetting. Lessons include Review of Names, Review of Vectors, Review of Attributes for Common Structures, Logical Conditions and Operators, Conditional Control Flow, Functions, and Review of Subsetting.
You will gain skills in writing conditional statements and data infrastructure, applying conditional statements to control flow and to subset data structures.
By the end of these lessons, you will be able to write conditional statements and apply them to control flow and to subset data structures.
The topics build on your understanding of the R language and form a foundation for vectorization, scaling functional programming, and class concepts.