I've created a vector and set negative values as missing (NA). Now i shoud sum the even numbers from vector, but haven't realised how to do it.
is.double command check's is the vector even?
I've also tried to sum %%2
and the missing values should consider with na.rm=TRUE ?
I would be very gratefull if someone could help me so I would graduate in Schedule