R Introduction
An introduction to R concepts and data structures.
A tutorial on retrieving a collection of row vectors in a data frame. Discussion on the usage of numeric, name and logical indexing.
A tutorial on retrieving a collection of column vectors in a data frame with the single square operator. Discussion on usage of numeric and name indexing.
A tutorial on retrieving individual column vectors in a data frame with the double square operator.
A tutorial on retrieving list slices and accessing list members by their names. Also explains the technique of search path attachment in R.
A tutorial on how to retrieve vector slices by filtering with a logical index vector.
We offer here a couple of introductory tutorials on basic R concepts. It serves as
background material for our main tutorial series Elementary Statistics with
R.
A tutorial on the concept of data frames in R. Using a build-in data set sample as example, discuss the topics of data frame columns and rows. Explain how to retrieve a data frame cell value with the square bracket operator. Plus a tips on how to take preview of a data frame.
A tutorial on the concept of lists in R. Discussion on list creation, retrieving list slices with the single square bracket operator, and accessing a list member directly with the double square bracket operator.
A tutorial on how to combine two vectors into a new vector, and the implication of value coercion.
A tutorial on how to perform memberwise arithmetics operations on vectors and explains the vector recycling rule.