Learn R Programming

parameters (version 0.22.0)

format_df_adjust: 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"
)

Value

A formatted string.

Arguments

method

Name of the method.

approx_string, dof_string

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

Examples

Run this code
library(parameters)

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

Run the code above in your browser using DataLab