Skip to content

Commit

Permalink
Issue #1285 default type for survival models
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Dec 11, 2024
1 parent c828f45 commit 108f431
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
6 changes: 3 additions & 3 deletions R/type_dictionary.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 108f431

Please sign in to comment.