# Mathematical operations

For whatever reason, if you sum two variables var1 and var2 from df, you might get the following error: Non-numeric argument to binary operator.
df$var3 <- as.numeric(as.character(df$var1)) + as.numeric(as.character(df\$var2))