Repository navigation
parameters 0.30.0
Changes
-
model_parameters()now supports objects fromTukeyHSD()(#738). -
model_parameters()now saves information about the type of HC-vcov
calculation as attribute. -
model_parameters()now raises a warning instead of a message when the
vcocvis supplied to calculate sandwich standard errors, but not supported
by the model class.
Bug fixes
-
model_parameters()for objects from marginaleffects no longer drops or
renames columns of focal terms orbyvariables whose names equal column
names that the output uses, such astypeort. -
model_parameters()for objects from marginaleffects: abyvariable
with the name of an output column, such asporSE, is now returned as
p.1orSE.1. The output column keeps its name. This does not apply to
Bayesian models. It also does not apply to thepredictions()columns
Predicted,SE,CI_lowandCI_high, which marginaleffects itself
overwrites. -
equivalence_test()for lavaan models no longer fails with an error about
rangewhen the model was fitted inside a function. Functions that look up
the original model by its name now also find it in the calling functions. -
bootstrap_model()andbootstrap_parameters()with
type = "semiparametric"no longer fail for models from lme4. For models
from glmmTMB, this type now gives an informative error, because
lme4::bootMer()does not support it for these models (#1242). -
model_parameters()andci()no longer fail formerModListmodels from
merTools with the error "formal argument "component" matched by multiple
actual arguments" (#1199). -
If the
htestobject of a Spearman or Kendall correlation test carries a
confidence interval,model_parameters()now returns it. Before, only
Pearson correlations showed a confidence interval (#1003). -
model_parameters()for models from blavaan now works with
standardize = TRUE,"all"or"std.all"and summarizes the standardized
posterior draws. This requires insight 1.6.0 or later. As for lavaan
models,standardize = "latent"or"std.lv"and"no_exogenous"or
"std.nox"summarize the draws of the matchingtypeof
blavaan::standardizedPosterior(). These values require insight 1.6.0
or later. If the"std.nox"values equal the"std.all"values, you get
one warning instead of one from lavaan for each draw. Older versions of
insight give an error that asks you to update. Other values
ofstandardize(exceptFALSEorNULL) return unstandardized parameters.
Withverbose = TRUE, they also give a warning. -
model_parameters(..., bootstrap = TRUE)no longer fails forclmmmodels
from ordinal. Like other mixed models, it now returns only the fixed
effects and says so in a message (#1056). -
model_parameters()no longer fails for models fitted withstats::arima(). -
print()andprint_md()now show a user-suppliedcaptionfor models
that have no default caption, such as models fitted withlm()(#749). -
With insight 1.6.0 or later,
caption = ""inprint()and
print_md()now removes the "Fixed Effects" and "Random Effects" captions
of mixed models (easystats/insight#930). -
model_parameters(..., effects = "grouplevel")now formats categorical
random-slope labels consistently across all grouping levels. -
standard_error()and hencemodel_parameters()returned wrong (recycled)
standard errors for models of classglmmTMBfitted with the newordinal()
family, because the thresholds are not part of the summary coefficient table.
Standard errors are now taken frominsight::get_varcov(), which returns
them on the threshold scale via the delta method (requires insight > 1.5.4
and glmmTMB >= 1.1.15). -
format_parameters()andmodel_parameters()now keep the names of terms
with a colon inside a function call, such aslag(log(emp), 1:2)in plm
models. Before, the colon split these terms like interactions. A term like
lag(log(x))is also no longer formatted as a log-transformed term (#502).