00:01
For this problem, to begin, we can see that the missing values are the 5th and 11th values.
00:06
So we have, i'll write it out as x5 equals na, and x11 is equal to na.
00:15
One of the ways, actually i'll go through the way that r is going to be interpreting the code in a few steps here.
00:21
First of all, if we use c, 5, 11, that basically passes in a list containing 5 and 11.
00:40
So, for instance, if we wanted to get the 5th value, we could do age 5, and we'd get n, a.
00:48
If we wanted the 11th value, we could do age 11, and we'd get n, a.
00:52
If we do age c 511, we would get just the missing values.
01:00
We would get na na.
01:03
If we pass in a negative argument, or a negative index, actually, yeah, it's better to call that a negative index, when we're referencing a vector like that, for instance, age just negative one, the result will will be age without the first value...