I am trying to add a scalar to a vector. However, when my scalar is NA, I want it to be ignored, similar to the na.rm = TRUE argument used in sum.<
na.rm = TRUE
sum