Description Usage Arguments Value
Fit a logistic regression model by IRWLS. This is the same method that glm uses when family="binomial".
1 | logistic_reg(X, y, lambda = 0)
|
X |
covariate matrix |
y |
response vector |
lambda |
[Optional] L2 regularisation parameter, defaults to 0. |
r |
[Optional] weight vector |
b vector of coefficients
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.