This is what I was running:
DetHist1 <- detectionHistory(recordTable = recordtable,
camOp = camop_no_problem,
stationCol = "Station",
speciesCol = "Species",
recordDateTimeCol = "DateTimeOriginal",
species = "Chrotogale owstoni",
occasionLength = 7,
day1 = "station",
includeEffort = FALSE,
timeZone = "Asia/Bangkok"
)
ERROR:Error in detectionHistory(recordTable = recordtable, camOp = camop_no_problem, : Not all values of stationCol in recordTable are matched by rownames of camOp
I believe it's because my camop_no_problem was created with the variable byCamera as I had more than one camera at each station. So the camop_no_problem first column looks like this:
TrapName_CameraName
while my recordtable Station column only has
TrapName
Can I still run the detectionHistory command, and if so, what do I need to do?