Access the n-the element of a vector



examples/access_vector_element.R
distances = c(11, 12, 13, 14)

length(distances)   # 4

distances[1]        # 11
distances[4]        # 14
distances[5]        # NA