Hi All,
When I try to estimate density using the secr.fit function, I get the following error message:
> taragree10 <- read.capthist ("char10.csv", "traptar10.csv", detector ="proximity",fmt = c("trapID"), noccasions =10, covnames =c("V5", "V6"), trapcovnames = NULL, cutval = NULL, verify = TRUE, noncapt = "NONE", binary.usage="TRUE")
No errors found :-)
> nullmodeltar10<-secr.fit(taragree10, model = list(D~1, g0~1, sigma~1), mask=HRmask, verify = TRUE)
Checking data
Preparing detection design matrices
Preparing density design matrix
Finding initial parameter values...
Error in uniroot(naiveRPSVcall, lower = obsRPSV/10, upper = obsRPSV * :
f() values at end points not of opposite sign
Error in naivecap2(0.001, sigma = tempsigma, cap = cpa) :
NA/NaN/Inf in foreign function call (arg 3)
Does someone know what I am doing wrong?
Thank you!
Marie-Lyne