Error while trying to run single session secr for leopard camera trap data

22 views
Skip to first unread message

Rogan Fourie

unread,
Jun 26, 2025, 2:22:09 AMJun 26
to secr
Good morning everybody

I have been trying to run secr analysis on my leopard camera trap data, and keep getting the following error

"Error in read.traps(file = "trapfile.csv", detector = "count", skip = 0, : 'usage' fields suggest varying number of occasions"

Could anyone help? I cant seem to find the error in the data, and neither can chatgpt.

Happy to send my csv files and code to see if anyone can find the error

Murray Efford

unread,
Jun 26, 2025, 3:18:19 AMJun 26
to secr
Hard to say without the data, but I'm guessing that a leading zero in a string of binary codes has been helpfully dropped by Excel or R. You will need to find a workaround e.g. place the usage code for each occasion in a separate column of the csv file.
Murray
Reply all
Reply to author
Forward
0 new messages