Introduction
Vector indexing lets you pick specific items from a list of values. In R, counting starts at 1, not 0.
You want to get the first or last item from a list of numbers.
You need to select multiple specific items from a list.
You want to change or check a particular item in a list.
You want to skip some items and only use certain ones.
You want to find items based on their position in the list.