I'd started learning R recently and in one of the practice questions, this was asked
What will be the output of
mode(c(12, 45, "30", 34*56))
Now, since the numeric data was in majority, I thought the answer would be numeric. But the given answer (which I'd later verified in R console) was character.
What is the reason behind this?