00:01
So for this problem to begin, we have that in r, we have an undefined number, or a missing numerical value, missing num.
00:15
We represent that with nan.
00:18
We're trying to add a number to the missing value.
00:29
To understand what happens behind the scenes here, we can think of how the process of addition would be defined as a function.
00:38
We know that, you know, if we imagine, i'm not sure off the top of my head if there's actually an add x, y, or an equivalent kind of function in r.
00:49
But one of the requirements for such a function would be that x and y must be numbers.
01:00
What happens if we have inputs that are not in the right type? well, we have that we get an error.
01:10
We don't just get the number that we're trying to add, we get an error.
01:16
So we have that r is not able to perform operations on missing values.
01:23
And for just to reinforce this i'll pull up r studio and prove that...