convert.family: (Internal) Format and check consistency of family.

View source: R/utils.r

convert.familyR Documentation

(Internal) Format and check consistency of family.

Description

(Internal) Format and check consistency of family.

Usage

convert.family(family, type = c("family", "character"))

Arguments

family

a family function, character of family name, symbol, or family object.

type

a character to specify the type of the value this function returns. If "family", this function returns 'family' object. If "character" is specified, this function returns a character string denoting the name of the family.

This internal function is called by link{detect.model.type} and predict.glmmML functions.


Marchen/model.adapter documentation built on July 3, 2023, 11:07 a.m.