Closed edvinf closed 10 months ago
RstoxFDA already provides a warning like this. It was overlooked by reporting users because the project contained many warnings. I have extended the error message to explicitly reference the parameters 'LengthResolution' and 'CollapseLength'.
The traceplot function supports providing a length interval to get age-length-group traces. For convenience, length groups are not displayed in legends, when there are only one pr age group. This may cause confusion as predictions are commonly run with the collapselength option, which collapses all length groups into one. The option seems to not be working, and users may benefit from being reminded that length-groups are collapsed.
A solution may be to issue a warning or an error when the length-interval are smaller than the length intervals in the prediction-data.