empty sessions
Posted: Mon Nov 15, 2021 5:25 pm
Hi, I am trying to run a multi-session with some empty sessions/occasions (traps were open but no individuals were trapped). I tried to create capture files as described in the manual following the empty sessions section but I keep running into errors.
I am using the same trap input file for all sessions as we opened the same traps every night. I then:
and get the following error:
The trap file works fine when there are no missing sessions/occasions but I would like to be able to include them in the analysis. Do I need to add a dummy row(s) to the trap file? Any help for where I am going wrong is greatly appreciated.
Thank you in advance,
Amanda
Input
# Session ID Occasion Detector
. . . .
7 2421 3 276
7 2422 3 289
7 2361 4 204
7 2367 4 209
7 2455 4 1127
10 3028 1 1134
11 3282 1 209
11 3282 2 209
11 3028 2 1134
11 3302 3 234
11 3313 3 1137
. . . .
8 NONE 1 0
8 NONE 2 0
8 NONE 3 0
8 NONE 4 0
9 NONE 1 0
9 NONE 2 0
9 NONE 3 0
9 NONE 4 0
10 NONE 2 0
10 NONE 3 0
10 NONE 4 0
11 NONE 4 0
I am using the same trap input file for all sessions as we opened the same traps every night. I then:
- Code: Select all
msCH<- read.capthist("e:/file/FS131_capt_nosex.txt",
"e:/file/FS131_trap.txt", detector = "multi")
and get the following error:
- Code: Select all
Error in order(captTrap, abs(captures[validcapt, 3]), captID) :
argument lengths differ
The trap file works fine when there are no missing sessions/occasions but I would like to be able to include them in the analysis. Do I need to add a dummy row(s) to the trap file? Any help for where I am going wrong is greatly appreciated.
Thank you in advance,
Amanda