Learn R Programming

mi (version 1.1)

multinomial: The multinomial family

Description

This function is a returns a family and is a generalization of binomial. users would only need to call it when calling change with what = "family", to = multinomial(link = 'logit')

Usage

multinomial(link = "logit")

Arguments

link

character string among those supported by binomial

Value

A family object

Details

This function is mostly cosmetic. The family slot for an object of unordered-categorical-class must be multinomial(link = 'logit'). For an object of ordered-categorical-class but not its subclasses, the family slot must be multinomial() but the link function can differ from its default ("logit")

See Also

family, binomial

Examples

Run this code
# NOT RUN {
multinomial()
# }

Run the code above in your browser using DataLab