Format the name of the degrees-of-freedom adjustment methods
Source:R/format_df_adjust.R
format_df_adjust.Rd
Format the name of the degrees-of-freedom adjustment methods.
Usage
format_df_adjust(
method,
approx_string = "-approximated",
dof_string = " degrees of freedom"
)
Examples
library(parameters)
format_df_adjust("kenward")
#> [1] "Kenward-Roger-approximated degrees of freedom"
format_df_adjust("kenward", approx_string = "", dof_string = " DoF")
#> [1] "Kenward-Roger DoF"