by FishyAC85 » Thu Nov 06, 2025 9:55 am
In case anyone else ever wants the chain values, I wanted to update RE the solution.
As a reminder, I was running a multistate model using MCMC estimation, which is not supported directly in RMark.
1) You must run the model in RMark, use export.MARK, and then import to Program MARK. My model was very simple so I had just been making and running it in Program MARK and this was creating an issue when I tried to bring the .BIN file into RMark/coda to read.
2) The output file created when you run your model in Program MARK (.tmp) contains a section that lists the information you need to run the create.mark.mcmc command to open the .BIN file containing the chain values into R. Just search for something like ncovs in the tmp file and you'll find what you need.
The .BIN file opens as a mcmc.list file type but I could change it to a matrix (as.matrix) and then do what I needed to with it.