c(1, 1L, "C")[1] "1" "1" "C"
In the following exercises, first guess what type the vector will be coerced to, then check your intuition with the typeof() function.
c(1, 1L, "C")Guess: ___
c(1L / 0, "A")[1] "integer"
[1] "double"
[1] "double"
[1] "character"
Guess: ___
c(1:3, 5)Guess: ___
c(3, "3+")Guess: ___
c(NA, TRUE)Guess: ___