Here is my practice teaching video, on subsetting vectors in R.
I’m assuming that the students have already been introduced to the use
c() to create a vector.
After these three minutes, I would continue by talking about using logical
x[y > 10]) and indexing with character strings using