Description Usage Arguments See Also Examples
Define a generalized linear model. All the arguments in glm
are allowed except for data
. Supported types of family
include gaussian
, binomial
, poisson
, Gamma
and inverse.gaussian
.
1 |
formula |
The formula of the model to be fitted. |
family |
The distribution of the response variable and the link function to be used in the model. |
weights |
The prior weights to be used in the model. |
... |
Addition arguments for the function |
glm
.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.