Tag: error in x[floor(d)] + x[ceiling(d)] : non-numeric argument to binary operator