Category Archives: R programming

Dangers of implicit type conversion in R

As you might be aware, R usually does implicit type conversion of your input variable in the expected type whenever necessary. For example, paste expects characters and therefore works by implicit type conversion of numeric to character, and you do not need to use instead. Usually, this is very convenient. But there are at least… Read More »