Page 1 of 1

RMark problem extracting output

PostPosted: Tue Jan 16, 2024 8:08 pm
by Lance.Michael
Hello,

I'm writing to get some help with an error I'm getting extracting output from Mark.

I'm using RMark to evaluate some multi-pass CMR data from a study of fish marked with PIT tags. The general study design is three passes where unmarked animals are marked with PIT tags and recaptured animals are recorded. We plan to incorporate this into a multi-year Barker Robust Design study. However, being the first year of the study I have been trying to generate a population estimate with a POPAN model. The problem is that frequently when I run different models in RMark, I get the following error:

Error in `.rowNamesDF<-`(x, value = value) : invalid 'row.names' length

Problem extracting output. Look at MARK output file to see what is wrong.


In the the Mark output files, it shows parameter estimates and estimates of real parameter values. The Mark output reads "STOP NORMAL EXIT" so I think the models are running correctly in Mark. I have tried debugging in R, and my best guess is that my machine is having some kind of issue in the "extract mark output" function within the "run mark model" function.

I would be happy to provide more information, code, or output if that would help, and thanks in advance for any suggestions folks may have for how to fix this issue!

Thanks again!

Mike

Re: RMark problem extracting output

PostPosted: Tue Jan 16, 2024 9:55 pm
by jlaake
Send me a snippet of your data and the code you are using to jefflaake@gmail.com and I'll see what is going on.

Re: RMark problem extracting output

PostPosted: Sat Jan 20, 2024 9:36 pm
by jlaake
I worked with Mike offlist. The data was based on 3 occasions and models were being fitted that had several confounded parameters. My guess is that some of the models didn't converge and the output cannot be extracted. Whenever some like this happens it is always best to fit very simple models to begin.