Family objects provide a convenient way to specify the details of the models
used by functions such as stats::glm()
. These functions within this
package are not available within the stats package but are designed in a
similar manner.
Arguments
- link
A string specifying the model link function. For example,
"identity"
or"log"
are appropriate names for thestats::gaussian()
distribution."log"
and"logit"
are the defaults for the lognormal and the multinomial, respectively.
Value
An object of class family
(which has a concise print method). This
particular family has a truncated length compared to other distributions in
stats::family()
.
- family
character: the family name.
- link
character: the link name.