A vector holds several values of one type. c() combines them: riders <- c(412, 389, 455). Arithmetic on a vector works on every value at once, so riders * 2 doubles all three. This is why R code rarely needs loops.
Square brackets pick values. Positions start at 1, so riders[1] is the first value and riders[2:3] the second and third. A minus sign drops values: riders[-1] is everything but the first. A condition picks the values where it is TRUE: riders[riders > 400] keeps the busy days.
Every value in a vector has the same type. If you mix numbers and text, R turns the numbers into text, and text can't be added up. as.numeric() converts text that looks like numbers back into numbers.
Arithmetic converts every temperature at once; brackets pick by position or by a condition.