R : R using diff: non-numeric argument to binary operator error

Published --