Search for tag: "data structures"

Conditional Execution - Part 1 (The ifelse() Function).mp4

The ifelse() function evaluates a logical object (usually a vector-valued logical condition) and returns an object of the same dimension with TRUE values replaced by a value, or vector of values,…

From  Daniel Hall 172 plays 0  

Combining Data Frames in R.mp4

This video covers how to combined data frames in R both horizontally and vertically. The primary tool for the former operation is the merge() function, whereas the rbind.fill() function from the plyr…

From  Daniel Hall 165 plays 0  

Subscripts - Part 1 (Vectors).mp4

R has a very powerful subscripting system and it is important to learn how to use it effectively. In this video we show several different ways in which vectors may be subscripted to achieve various…

From  Daniel Hall 83 plays 0  

Data Structures in R - Part 4, Lists.mp4

We continue to discuss data structures in R, this time focusing on lists. Unlike vectors, matrices and arrays, the elements of a list may be of different modes. This makes them very flexible and…

From  Daniel Hall 90 plays 0  

Data Structures in R - Part 1, Vectors

In this video we introduce the various data structures in R, concentrating on vectors.Vectors are the fundamental unit in R, so it is important to understand how to form and manipulate them. While…

From  Daniel Hall 108 plays 0