Skip to content

Releases: easystats/insight

insight 1.0.0

26 Nov 14:48
2e997de
Compare
Choose a tag to compare

Breaking changes

  • All deprecated arguments have been removed.

  • The table_width argument in export_table() now defaults to "auto".

General

  • get_transformation() can now deal with any power-transformation, and also
    returns results for divisions (scaled response) and Box-Cox transformations.

  • find_transformation() and get_transformation() now also detects use of
    divisions, like x/3 or Box-Cox transformations (like (x^lambda - 1) / lambda).

  • find_transformation() and get_transformation() get a include_all argument,
    to check all model terms for transformations.

  • get_dispersion() is now an exported function.

  • Updated get_varcov() (and related documentation) to support new covariance
    matrix estimation methods from the sandwich package.

  • New function validate_argument() as a replacement for match.arg() with
    more informative error message.

  • The function to calculate the corrections for likelihood-values when the
    response-variable is transformed is now exported as get_likelihood_adjustment().

  • export_table() can now split tables into more than three tables when
    table_width is used (formerly, the maximum number of split tables was three).

  • Changed (improved) formatting for parameter tables in export_table(), when
    format = "html". Rows are indented, and group headers are emphasized in
    italic.

  • formula_ok() now also checks for syntactically invalid variable names.
    Furthermore, argument checks now allows to specify for which possibly
    problematic formula notation should be checked.

  • format_value() gains a decimal_point argument, to change the decimal point
    in output conversion.

  • format_bf() with stars = TRUE uses the ° symbol for inferiority
    (evidence against the comparison).

  • Added support for coxph.panel models.

  • Added support for models of class asym (package panelr).

  • Overhaul of documentation for the package-functions.

Bug fix

  • clean_parameters() now uses the correct labels for the random effects
    variances ("SD/Cor" has changed to "Var/Cov").

  • When get_data() could not properly evaluate the subset of a data set, it
    now returns an informative warning and no longer errors.

  • Fixed inaccuracy in get_sigma() for models of class brmsfit.

  • Fixed issues in get_variance() for models of class brmsfit when the
    sigma-parameter was directly modeled.

  • Fixed issue in compact_character() and compact_list() for date-variables.

  • Fixed edge case in find_transformation() for simple log-transformation of
    the response variable.

  • Fixed issue for model_info.averaging().

insight 0.20.5

02 Oct 08:50
c0b5fbf
Compare
Choose a tag to compare

General

  • get_datagrid() can now be used to extract the "grid" information from
    {emmeans} and {marginaleffects} outputs.

  • Arguments na.rm and na_rm are deprecated throughout the package's functions.
    Instead, use remove_na.

Bug fixes

  • Fixed rendering issue of the example in ?insight::display.

  • Fixed issues due to recent changes in the glmmTMB package.

insight 0.20.4

02 Sep 04:39
1873586
Compare
Choose a tag to compare

New supported models

  • Support for models of classes glm_weighit, multinom_weightit and
    ordinal_weightit (package WeightIt).

Changes

  • null_model() and formula_ok() now warn when indexed data frames, such as
    df[, 5], are used as response variable in the formula, as this can lead to
    unexpected results.

  • Minor improvements to link_function() and link_inverse().

Bug fixes

  • Fixed regression from latest fix related to get_variance() for brms models.

  • Fixed issue in link_function() and link_inverse() for models of class
    cglm with "identity" link, which was not correctly recognized due to a
    typo.

insight 0.20.3

16 Aug 11:33
524d385
Compare
Choose a tag to compare

Changes

  • get_df() now supports more model classes.

  • get_variance() gives an informative error if no mixed model is provided.

Bug fixes

  • Fixed issue in find_formula(), find_predictors() and find_variables()
    for models from package brms with custom formulas.

  • Fixed issues in find_response() for brms models with mi() function in
    the response variable.

  • Fixed issue in get_variance() that could lead to recursive calls for
    brms models, resulting in "infinite" resampling of the model.

  • Fixed issue in check_if_installed() that erroneously tried to guess the
    minimum required package version based on the SUGGEST field of the insight
    package, instead of the package that was calling the function.

  • Fixed issue in get_modelmatrix() for models from package brms with
    special functions in the formula (like mo()).

  • Fixed issue in ellipses_info() when this function was called from do.call().

  • Fixed issue with formatting unicode-symbols, where a wrong unicode-character
    was used for "Omega". Furthermore, Omega2 and Eta2 are now correctly converted.

insight 0.20.2

13 Jul 16:27
94af4cb
Compare
Choose a tag to compare

New supported models

  • Support for models of class glmgee (package glmtoolbox).

  • Support for models of class svy2lme (package svylme).

General

  • Massive overhaul of get_variance(). The function should be now more
    accurate for different distributional families, in particular for
    mixed regression models with Beta family.

  • Improved accuracy of singularity-checks in get_variance().

  • get_variance() gets a few new arguments:

    • null_model, to provide a null-model to be used for the calculation of
      random effect variances. If NULL, the null-model is computed internally.
      This argument is optional, but may be useful to save time, or when the
      null-model cannot be calculated internally.

    • approximation, indicating the approximation method for the
      distribution-specific (observation level, or residual) variance.

    • model_component, for models that can have a zero-inflation component,
      specify for which component variances should be returned. By default, both
      the conditional and the zero-inflation component are taken into account.

  • format_alert() and format_warning() get an immediate argument, to output
    warnings immediately.

  • find_terms() and find_transformation() now better cope with inverse
    transformations of the response value, such as 1/y.

  • get_transformation() now returns more transformations for power-transformed
    response variables.

  • model_info() for MixMod objects from package GLMMadaptive now recognize
    zero-inflation and hurdle models for custom families.

Bug fixes

  • null_model() now correctly handles zero-inflated models from package
    glmmTMB.

  • Fixed issue in null_model() for models from package GLMMadaptive.

  • Fixed issues in link_inverse() and link_function() for models of class
    gamlss from LOGNO() family.

insight 0.20.1

11 Jun 16:22
cb70583
Compare
Choose a tag to compare

Bug fixes

  • Fixed possible memory allocation issues when the deprecated argument at was
    used in get_datagrid()

insight 0.20.0

04 Jun 11:12
94b3377
Compare
Choose a tag to compare

Breaking

  • Arguments named group, at, group_by and split_by will be deprecated
    in future releases of easystats packages. Please use by instead. This
    affects following functions in insight:

    • export_table()
    • get_datagrid()
    • print_parameters()

Bug fixes

  • Fixed errors in CRAN checks.

  • Fixed issues in compact_list() for objects that contained variables of
    class vctrs.

insight 0.19.11

12 May 19:44
bb37b89
Compare
Choose a tag to compare

General

  • More informative error message for get_varcov() when the requested
    vcov-function failed.

Bug fixes

  • Fixed issue with get_data() for coxme models when sourcewas set to
    "modelframe".

insight 0.19.10

22 Mar 07:55
dfecd01
Compare
Choose a tag to compare

Bug fixes

  • Functions like find_variables() or clean_names() now support multi-membership
    formulas for models from brms.

  • Updated tests to work with the latest changes in glmmTMB 1.1.9.

insight 0.19.9

16 Mar 08:56
e94da44
Compare
Choose a tag to compare

New supported models

  • Support for models of class serp (package serp).

General

  • standardize_names() now also recognizes column s.value from objects of
    package marginaleffects.

Bug fixes

  • Fixed issue in find_predictors() for models with splines (s()), where
    number of dimensions was indicated with a variable, not a number.

  • format_ci() now works for factors and character vectors again.

  • Fixed issues with latest release of tinytable.

  • Fixed issues with latest release of PROreg.