Hocking-Lab / cocanal-turtles

Files related to analysis of turtle data from the Chesapeake and Ohio Canal
0 stars 0 forks source link

C Array Values #15

Open nthaydt opened 5 years ago

nthaydt commented 5 years ago

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.