get_glm_family_string {catalytic} | R 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.
[Package catalytic version 0.1.0 Index]