Line 623 - ifelse(BM$recap == "R", 1, 0) creates a matrix of 0s and 1s with 1s only corresponding to the instances where an individual is recaptured (not when it has previously been captured, but hasn't been captured again). Individual 1 should read 0, 1, 1, 1 (as it was caught on the 1st and 4th days) - but instead it reads 0, 0, 0, 1. I don't think switching the formula will work either.
Code/MultiSessionModel_NHedits.R Commit # 2b9939bfb6e7f3168741aeeb1fed2ccc8be00b33
Line 623 - ifelse(BM$recap == "R", 1, 0) creates a matrix of 0s and 1s with 1s only corresponding to the instances where an individual is recaptured (not when it has previously been captured, but hasn't been captured again). Individual 1 should read 0, 1, 1, 1 (as it was caught on the 1st and 4th days) - but instead it reads 0, 0, 0, 1. I don't think switching the formula will work either.