format_df_adjust: Format the name of the degrees-of-freedom adjustment methods

View source: R/format_df_adjust.R

format_df_adjustR Documentation

Format the name of the degrees-of-freedom adjustment methods

Description

Format the name of the degrees-of-freedom adjustment methods.

Usage

format_df_adjust(
  method,
  approx_string = "-approximated",
  dof_string = " degrees of freedom"
)

Arguments

method

Name of the method.

approx_string, dof_string

Suffix added to the name of the method in the returned string.

Value

A formatted string.

Examples

library(parameters)

format_df_adjust("kenward")
format_df_adjust("kenward", approx_string = "", dof_string = " DoF")

parameters documentation built on Oct. 18, 2024, 5:13 p.m.