Adding to my comment from yesterday. If you wish to replicate the detection function modelling
you performed in 2018, it is possible to "go back in time" by installing older versions of R packages. This is the spirit of reproducible analyses. The details of installing old versions can be found at this website:
The trick is to know which version of the package you need to install. You indicated your thesis was done in 2018, based upon that, I went back into the R-project archives associated with R version 3.3, released in 2018:
From this I learned the version of the Distance package in use in 2018 was probably version 0.9.7. However, to reproduce your detection function modelling, you would also need the version of the
mrds package in existence at that time. Using the same archive website as above, I deduced you were likely using version 2.1.18 of mrds.
Those two packages would need to be installed on your computer using the
devtools::install_version() function as shown on the Posit website instructions. However, they will need to be "built from source". To do that, you will need to install the
"RTools" toolchain onto your computer prior to downloading the two packages. Instructions for downloading/installing the "RTools" software can be found at this link and depends upon what version of R you currently have installed on your
Having done that (considerable) setup, you can then analyse your data using the same version of the software you (probably) used in 2018. When I did so, I was able to successfully fit a hazard rate detection function to your binned data. I'll write a separate
note to you about the data.
General take-away from this message, it is important to document the version numbers of the R packages used for analyses you may repeat in the future. With the version numbers and instructions provided in this email, it is possible to install archived versions
of R packages from CRAN to replicate past analyses.