insight 1.5.3
Changes
-
get_df()now supports thedf_per_obsargument for models of classmmrm,
returning one degree of freedom per row ofdatainstead of one per
coefficient, using the method chosen when fitting the model. -
model_info()andget_predicted()now recognize theddm(),lba()and
rdm()custom brms families from package cogmod as reaction-time and
choice models (is_rtchoice), alongside the already supportedlnr(). Their
predictions are hence split into the"rt"and"response"components,
instead of being returned as a single interleaved vector. -
get_datagrid()gains aweightedargument, to create a smaller representation
of large data grids, where multiple unique combinations of predictors are
included only once, and a newWeightcolumn indicates how often each
combination appears in the original data. The relatedn_binsargument
indicates how numeric values are represented in the reduced data grid. -
format_ci()gains aseparatorargument, to customize the separator for
lower and upper CI values. -
find_response(),find_predictors(), andfind_variables()now also work
for objects from package marginaleffects. -
Preliminary support in
find_parameters()for objects from package
marginaleffects. -
get_variances()now passes...down toVarCorr(), which might be useful
for Bayesian models (e.g. to return robust estimates usingrobust = TRUE). -
Added a documentation page for available
options. -
Updated test-files for
htestobjects and fixed deprecated names.
Bug fixes
null_model()no longer fails for models whose offset is written inline in
the formula with a nested-parenthesis expression followed by further terms
(e.g.y ~ x + offset(log(exposure)) + factor(year)). The offset term is now
extracted from the formula's language tree instead of by a paren-blind regex.