When we apply an arithmetic function on a logical vector, TRUE is equivalent to 1 and FALSE is equivalent to 0. Apply a function to the vector elevator to calculate the total number of persons that is allowed to enter the elevator.
TRUE
FALSE
elevator