Skip to content

summarize_ds_models() seems to do nothing as soon as one of the considered models has numerical problems #148

@wlangera

Description

@wlangera

I have run multiple distance models in for loops iterating between different formulas and key functions.
For a few models I get the following message:

Some variance-covariance matrix elements were NA, possible numerical problems; only estimating detection function.

I was not able to reproduce this message with a small reproducible example.

When I put all fitted models in the function summarize_ds_models(), R is running but nothing is outputted.
No summary table about fitted detection functions, but also not even a warning or a message ...
As soon as I remove the problematic models, the function works as expected.

With a lot of models fitted (for example within a for loop), it is not easy to identify which exact models have numerical problems and which can be used with summarize_ds_models().

Would it be possible to make sure that summarize_ds_models() still outputs a table when only few of the models have numerical problems? These can be skipped and a warning can be placed stating which models were not appropriate to provide summaries (AIC, C-vM p-value, ...).

I believe it would aid more automation in model selection because now I had to manually identify and exclude every problematic model.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions