Please, correct the following logical index in vetor.
1 view (last 30 days)
Rik on 23 Nov 2017
What you describe just inserts 1 element into your vector. Is that what you mean?
Anyway, this is not logical indexing. If you want to do this, you can just write
Logical indexing would be something like