I'd like to estimate animal densities from camera trap data at several sites. Typically, at least one animal is caught on each deployment. However, at two sites, several camera locations had no animal captures at all. When I input an 'animal capture details file' that has just animal captures I got on the cameras I get the following error:
"In addition: Warning messages:
1: In mean.default(mdm) : argument is not numeric or logical: returning NA
2: In rnorm(1, sigma, mmdm/4) : NAs produced"
However, If I make up data so that each location has at least one animal capture, the model runs fine. So it seems like the problem is that some cameras have no data. It seems to me that camera locations that get no animals is essential in the model. Am I formatting this incorrectly? Thanks in advance,
Desiree