diff --git a/NEWS.md b/NEWS.md index 1e36eab02..c34cf1b2d 100644 --- a/NEWS.md +++ b/NEWS.md @@ -4,6 +4,7 @@ Breaking changes: +* The default `type` is now "survival" for models of class `coxph`, `flexsurvreg`, and `coxph_weightit`. * `p_adjust` argument deprecated because of name-matching conflict with `p` argument in quantile regression and others. The recommended workflow is now to pass the object to the `hypotheses()` function and use its `multcomp` argument. * Removed long deprecated functions from the code base. These functions were already raising errors: `marginaleffects`, `meffects`, `marginal_means`, `deltamethod`, `datagridcf`. diff --git a/R/type_dictionary.R b/R/type_dictionary.R index b6192c6cc..a9c7b7e51 100644 --- a/R/type_dictionary.R +++ b/R/type_dictionary.R @@ -32,14 +32,14 @@ clogit,expected clogit,lp clogit,risk clogit,survival +coxph,survival coxph,expected coxph,lp coxph,risk -coxph,survival +coxph_weightit,survival coxph_weightit,expected coxph_weightit,lp coxph_weightit,risk -coxph_weightit,survival crch,response crch,location crch,scale @@ -52,13 +52,13 @@ hxlr,scale hxlr,density ivpml,pr ivpml,xb +flexsurvreg,survival, flexsurvreg,response, flexsurvreg,mean, flexsurvreg,link, flexsurvreg,lp, flexsurvreg,linear, flexsurvreg,rmst, -flexsurvreg,survival, flexsurvreg,hazard, flexsurvreg,cumhaz, fixest,invlink(link)