get_glm_family_string: Retrieve GLM Family Name or Name with Link Function

get_glm_family_stringR Documentation

Retrieve GLM Family Name or Name with Link Function

Description

This function retrieves the name of a GLM family or, optionally, the family name with the associated link function.

Usage

get_glm_family_string(family, with_link = FALSE)

Arguments

family

Character or function. The name of the GLM family (as a string) or a function that returns a GLM family object.

with_link

Logical. If TRUE, returns the family name along with the link function in the format "family \[link\]". If FALSE, only the family name is returned. Default is FALSE.

Value

A character string. The name of the GLM family, or the name with the link function if with_link is TRUE.


catalytic documentation built on April 4, 2025, 5:51 a.m.