multiclass_logistic: Multiclass logistic regression

Description Usage Arguments Value

View source: R/logistic_regression.R

Description

This function helps to do the preparation works of implememnt multiclass classification by using logistic regression. It returns a matrix of estimated coefficients with different rows corresponding to different comparison. The comparison there means being a specific class vs. not being that class.

Usage

1
multiclass_logistic(X, Y, maxit = 100)

Arguments

X

A specifeid design matrix

Y

The multilevel outcome of interest

maxit

Maximum number of iterations

Value

A matrix of coefficient estimates corresponding to different comparison.


Zebedial/bis557 documentation built on Dec. 21, 2020, 2:16 a.m.