I've been using RMark to run multistrata models, and love it for ease of use with changing the design matrix, but I have run into some difficulties with the Pradel model. When I try to run any model using type="Pradel", I get the following error message:
Error in if (x4 > x2) { : argument is of length zero
********Following model failed to run : [name of model]**************
The Mark window opens and all the numbers fly across the screen as usual (when invisible=FALSE), but it doesn't do any iterations, just closes the window and gives me the error message. I can run the same models of type="Pradrec" just fine. But I would like to use "Pradel" because it is much faster and I have a bunch of models to run on a large data set. Please help. Thanks!