If input is character then converting to factor then to numeric

compute(x, y, FUN = "+", ...)

Arguments

x

scalar, vector

y

scalar, vector

FUN

function, default to add

...

extra args to FUN