Hi,
With a CJS model I am getting the error result :
> mod.10 <- mark(koot.proc, koot.ddl, model.parameters=list(Phi=Phi.a3_ttt, p=p.a2_tt), model.name="model 10")
Error in if (x4 > x2) { : argument is of length zero
********Following model failed to run : model 9 **********
Any idea what this could be? The model assumes assumes 3 age-classes for year-specific survival and two age-classes for year specific capture probabilities. A model with 3 age-classes for year-specific survival, but only year specific capture probabilities (no age-classes) executes fine, which makes me think it is something structural. A few days ago, however, this model ran fine, but since then I've filtered a little more of the data.
I know it's hard to tackle what's breaking down without the actual data, but are there any ideas ?
Thanks.
Tommy