I'm trying to create a capthist for a multi-session model where the detector usage differs between sessions. Specifically, in the first session all detectors were used on every one of seven consecutive occasions (usage = 1111111).
However, in the second session the detectors were used over thirteen occasions, with either all or none of the detectors being used, in the pattern 1110001100011.
Following the advice of "varying effort" PDF, I've created two separate trap files for the two sessions, and listed them in a vector in the "trapfile" argument of read.capthist.
Therefore a generic version of my code is:
- Code: Select all
capthist<-read.capthist(captfile.csv, c("trapfile.session1.csv","trapfile.session2.csv"),fmt="trapID",detector="single")
It's returning this error:
- Code: Select all
Error in read.traps(file = trapfile.session1.csv", detector = "single", :
'usage' fields suggest varying number of occasions
Clearly, I have 7 occasions for the first session and 13 the second. Is this disallowed? I'm sure I remember reading somewhere that multisession models had to have the same number of occasions per session, but I can't find it now and am beginning to doubt my memory...