I've tried to use the R script provided in the MARK help file for processing the MCMC.bin file. However, something doesn't work. I get the following error:
> mcmcdata=create.mark.mcmc(filename,ncovs,nmeans,ndesigns,nsigmas,nrhos,nlogit,include=F);
Error in if (max(xmcmc[, 1]) != min(xmcmc[, 1])) { :
missing value where TRUE/FALSE needed
In addition: Warning message:
In matrix(whatread, ncol = nvals, byrow = T) :
data length [30000] is not a sub-multiple or multiple of the number of rows [70]
Any ideas on what the problem might be? The script doesn't seem to read the MCMC.bin file properly. The file is ~100 MB (3 chains), might that be an issue? I'm using MARK 6.2 and R 3.01.
Any help would be much appreciated!
Morten