How to Fix Error in R – Non-numeric Argument to Binary Operator (Example Code)
On this page, I’ll illustrate how to deal with “non-numeric argument to binary operator” in R.
Example: How to Deal with the Error Message: non-numeric argument to binary operator
"ten" + "five" # Equation in character format leads to error # Error in "ten" + "five" : non-numeric argument to binary operator |
"ten" + "five" # Equation in character format leads to error # Error in "ten" + "five" : non-numeric argument to binary operator
10 + 5 # Equation in numeric format # 15 |
10 + 5 # Equation in numeric format # 15