Skip to content

broom.helpers 1.2.0

Compare
Choose a tag to compare
@larmarange larmarange released this 22 Feb 17:20

New features

  • model_get_coefficients_type() now returns "relative_risk" for log-binomial
    models (#101)
  • New function tidy_disambiguate_terms() for disambiguating random-effect
    terms in mixed models and new options for tidy_plus_plus():
    disambiguate_terms (TRUE by default) and disambiguate_sep (#98)
  • For mixed models, var_type column is now equal to "ran_pars" or
    "ran_vals" for random-effect parameters and values, based of the
    effect column returned by broom.mixed::tidy() (#90)
  • New contrasts type ("no.contrast") returned by model_list_contrasts()
  • New function tidy_add_n() to add the number of observations (and for
    relevant models the number of events and exposure time) (#64)
  • New option add_n in tidy_plus_plus() (#64)
  • New functions model_get_n(), model_get_weights(), model_get_offset(),
    model_get_response() and model_compute_terms_contributions() (#64)

New supported models

  • Support of lfe::felm() models (#79)
  • Support of brms::brm() models (#89)
  • Basic support of cmprsk::crr() models (#91)
  • Basic support of stats::nls() models (#97)
  • Models with categorical variable and no intercept now supported (#85)
  • Added support for mgcv::gam() models. (#82)

Bug fixes and other changes

  • Minor breaking change: strict argument removed from
    tidy_identify_variables() (#99)
  • Replaced usethis::ui_*() messaging with cli::cli_*() (#94)
  • Bug fix in tidy_add_term_labels() for variables with non standard
    names (#77)
  • Fix in vignette for old versions of rmarkdown (#95)