Releases: easystats/insight
insight 0.20.5
General
-
get_datagrid()
can now be used to extract the "grid" information from
{emmeans}
and{marginaleffects}
outputs. -
Arguments
na.rm
andna_rm
are deprecated throughout the package's functions.
Instead, useremove_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
New supported models
- Support for models of classes
glm_weighit
,multinom_weightit
and
ordinal_weightit
(package WeightIt).
Changes
-
null_model()
andformula_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()
andlink_inverse()
.
Bug fixes
-
Fixed regression from latest fix related to
get_variance()
for brms models. -
Fixed issue in
link_function()
andlink_inverse()
for models of class
cglm with"identity"
link, which was not correctly recognized due to a
typo.
insight 0.20.3
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()
andfind_variables()
for models from package brms with custom formulas. -
Fixed issues in
find_response()
for brms models withmi()
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 (likemo()
). -
Fixed issue in
ellipses_info()
when this function was called fromdo.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
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. IfNULL
, 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()
andformat_warning()
get animmediate
argument, to output
warnings immediately. -
find_terms()
andfind_transformation()
now better cope with inverse
transformations of the response value, such as1/y
. -
get_transformation()
now returns more transformations for power-transformed
response variables. -
model_info()
forMixMod
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()
andlink_function()
for models of class
gamlss
fromLOGNO()
family.
insight 0.20.1
Bug fixes
- Fixed possible memory allocation issues when the deprecated argument
at
was
used inget_datagrid()
insight 0.20.0
Breaking
-
Arguments named
group
,at
,group_by
andsplit_by
will be deprecated
in future releases of easystats packages. Please useby
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
classvctrs
.
insight 0.19.11
General
- More informative error message for
get_varcov()
when the requested
vcov
-function failed.
Bug fixes
- Fixed issue with
get_data()
forcoxme
models whensource
was set to
"modelframe"
.
insight 0.19.10
Bug fixes
-
Functions like
find_variables()
orclean_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
New supported models
- Support for models of class
serp
(package serp).
General
standardize_names()
now also recognizes columns.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.
insight 0.19.8
General
-
Removed deprecated arguments in
get_data.mmrm()
. -
Improved support for models of class
rqs
(package quantreg). -
Revised test to address forthcoming changes in the pscl package.
Bug fixes
-
Fixed issue in
get_loglikelihood()
for glm-models with binary outcome, where
levels were defined in reversed order. -
Fixed issue in
find_formula()
for models of classglmmPQL
(package MASS). -
Fixed issue in
find_formula()
for models of classgam
(package mgcv) for
the"gaulss"
family. -
Fixed issue in
get_variance()
for glmmTMB models withfamily = "ordbeta"
. -
Fixed issue in
model_info()
with correctly detecting multivariate vgam/vglm
models.