1.5 - Indexing Vectors & Logical Extraction
1.5 - Indexing Vectors & Logical ExtractionHere we introduce the indexing operator [ ]
, which is so powerful (and sometimes a bit mysterious) that I refer to it as "the magical [ ]". We'll learn how to use logical test with the [ ]
to perform "logical extraction".