I don't understand this error:
Warning message:
In if ((t$carried2 == t$Dead5) & (t$carried2 == t$Dead6)) { :
the condition has length > 1 and only the first element will be used
my piece of code:
if ((t$carried2 == t$Dead5) & (t$carried2 == t$Dead6)) {(t$Dead5 = 0) & (t$Dead6 = 0)}
This is probably crappy, but I am new. Anyways, I want to say if (this and that happen) {then this and that = 0