Releases: easystats/insight
insight 1.0.0
Breaking changes
-
All deprecated arguments have been removed.
-
The
table_width
argument inexport_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()
andget_transformation()
now also detects use of
divisions, likex/3
or Box-Cox transformations (like(x^lambda - 1) / lambda
). -
find_transformation()
andget_transformation()
get ainclude_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 formatch.arg()
with
more informative error message. -
The function to calculate the corrections for likelihood-values when the
response-variable is transformed is now exported asget_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, argumentchecks
now allows to specify for which possibly
problematic formula notation should be checked. -
format_value()
gains adecimal_point
argument, to change the decimal point
in output conversion. -
format_bf()
withstars = 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()
andcompact_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
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.