|
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,…
Copyright
I created all of this content
|
|
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…
Copyright
I created all of this content
|
|
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…
Copyright
I created all of this content
|
|
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…
Copyright
I created all of this content
|
|
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…
Copyright
I created all of this content
|