Changes
-
Support for
posterior::rvar
-type column in data frames.
For example, a data framedf
with anrvar
column".pred"
can now be
called directly viap_direction(df, rvar_col = ".pred")
. -
Added support for
{marginaleffects}
-
The ROPE or threshold ranges in
rope()
,describe_posterior()
,p_significance()
andequivalence_test()
can now be specified as a list. This allows for different
ranges for different parameters. -
Results from objects generated by
{emmeans}
(emmGrid
/emm_list
) now
return results with appended grid-data. -
Usability improvements for
p_direction()
:-
Results from
p_direction()
can directly be used inpd_to_p()
. -
p_direction()
gets anas_p
argument, to directly convert pd-values into
frequentist p-values. -
p_direction()
gets aremove_na
argument, which defaults toTRUE
, to
removeNA
values from the input before calculating the pd-values. -
Besides the existing
as.numeric()
method,p_direction()
now also has an
as.vector()
method.
-
-
p_significance()
now accepts non-symmetric ranges for thethreshold
argument. -
p_to_pd()
now also works with data frames returned byp_direction()
. If
a data frame contains apd
,p_direction
orPD
column name, this is assumed
to be the pd-values, which are then converted to p-values. -
p_to_pd()
for data frame inputs gets aas.numeric()
andas.vector()
method.
Bug fixes
- Fixed warning in CRAN check results.