TilburgNetworkGroup / remstats

Computes Statistics for Relational Event History Data
https://tilburgnetworkgroup.github.io/remstats/
Other
7 stars 1 forks source link

Informative error message when using the baseline effect in an ordinal model #80

Open mlmeijerink opened 10 months ago

mlmeijerink commented 10 months ago

The baseline effect does not exist using an ordinal model.

When requesting it while using an ordinal model, remstats fails with an uninformative error: Error in compute_stats_tie(effectNames, edgelist, riskset, risksetMatrix, : Not compatible with STRSXP: [type=list].

Fix this by giving a more informative error.