:crystal_ball: Easy access to model information for various model objects
serp
(package serp).standardize_names()
now also recognizes column s.value
from objects of
package marginaleffects.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.
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.
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 class glmmPQL
(package MASS).
Fixed issue in find_formula()
for models of class gam
(package mgcv) for
the "gaulss"
family.
Fixed issue in get_variance()
for glmmTMB models with family = "ordbeta"
.
Fixed issue in model_info()
with correctly detecting multivariate vgam/vglm
models.
Support for objects of class ggcomparisons
from ggeffects::hypothesis_test()
.
brms::gr()
is now supported, meaning that functions like get_data()
or
find_predictors()
now also work for models with group-specific random effects.
Fix CRAN check issues due to the last fixest update.
get_varcov()
for models of class pgmm
(package plm) now also supported
robust variance-covariance matrices (i.e. argument vcov
).Fixed issue in find_predictors()
for survival models with strata()
,
containing more that one variable.
Fixed issue in model_info()
, where in some cases logistic regression models
were erroneously considered as "bernoulli"
models.
Fixed issue in find_formula()
for models of class gamlss
when the random()
function was used with namespace in the formula (i.e. ... + gamlss::random()
).
model_info()
now detects models with zero-inflation part from package
glmmTMB when models have truncated-families but no ziformula
.
get_predicted_ci()
.model_info()
now recognized ordered beta families.
find_formula
and get_response
for nestedLogit
models gain a dichotomies
argument, to return values for the dichotomies used to fit the model.
find_transformation()
better detects power-transformation of the response
variable.
Corrected return value from find_statistic
for nnet::multinom()
models.
clean_parameters()
did not return the "clean_parameters"
class attributes
for some object. This caused issued in upstream packages.
Fixed issue in model_info()
, which did not correctly detect "Bernoulli"
property for some models classes (like glmmTMB
or glmerMod
).
get_predicted()
now accepts predict = "link"
for gaussian models with
log-link (i.e. glm(..., family = gaussian("log"))
), to return predictions
on the link scale.
check_if_installed()
now automatically checks the package DESCRIPTION file to
determine the correct minimum version required.
Fixed issue with invalid multibyte strings in trim_ws()
.
Fixed issue in find_statistic()
for models from package fixest.
standardize_column_order()
has changed the position when re-ordering Bayes
factors, ROPEs and ESS / Rhat (mainly relevant for Bayesian models).standardize_names()
and standardize_column_order()
now also recognize the
"response.level"
column name.
get_data()
for lavaan models is now more stable at retrieving model data
when this is not available in the environment.
find_terms()
gets an as_term_labels
argument, to extract model terms
from the formula's "term.labels"
attribute. This is closer to the behaviour
of stats::terms()
, but may be insufficient, e.g. for mixed models.
get_random()
now returns the same observations as get_data()
and correctly
removes missing values from the data before returning it.
find_parameters()
for marginal effects ignores the "s.value"
column (which
was added in a recent update).
Fixed issue in get_response()
for brms models with trunc()
function in
the response variable.
The minimum needed R version has been bumped to 3.6
.
download_model()
no longer errors when a model object could not be downloaded,
but instead returns NULL
. This prevents test failures, and allows to skip
tests when the return value of download_model()
is NULL
.
mclogit
models (package mclogit) and mipo
objects
(package mice) for models with ordinal or categorical response.phylolm
and phyloglm
(package phylolm), nestedLogit
(package nestedLogit).Fixed issue in get_variance()
for glmmTMB models with rank deficient
coefficients.
Fixed issues in get_weights()
for glm
models without weights and na.action
not set to default in the model call.
clean_names()
now also removes the relevel()
pattern.
Fixed issue in model_info()
for models of class gamlss
.
Fixed problems preventing get_data()
from locating data defined in
non-global environments.
Fixed issue in get_predicted()
for variables of class numeric matrix created
by scale()
, which were correctly handled only when get_data()
failed to
find the data in the appropriate environment.
Fixed issue in model_info()
for gee
models from binomial
families.