Description Usage Arguments Value Examples
View source: R/multiclass-logistic.R
This function implement a classification model generalizing logistic regression to accommodate more than two classes.
1 | multiclass_logistic(form, data, maxit)
|
form |
a formula with the legal format. |
data |
a dataframe provided by the user. |
maxit |
the number of iteration for the second-order gradient descent. |
a list including the dependent variable of interest, coefficient estimates, and membership propensities.
1 2 3 | q3.data <- penguinsi
form <- species ~ bill_length_mm + bill_depth_mm
q3_fit <- multiclass_logistic(form, q3.data, maxit = 50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.