Since NA is not a value, but rather a placeholder for an unknown quantity, the expression NA > 0 evaluates to NA. You might wonder why we didn’t just start with x to isolate the positive elements of x. Type y to see that we get all of the positive elements of y, which are also the positive elements of our original vector x.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |