s_MULTINOM: Multinomial Logistic Regression

View source: R/s_GLM.R

s_MULTINOMR Documentation

Multinomial Logistic Regression

Description

Convenience alias for s_GLM(class.method = "multinom").

Usage

s_MULTINOM(x, y, x.test = NULL, y.test = NULL, class.method = "multinom", ...)

Arguments

x

Numeric vector or matrix / data frame of features i.e. independent variables

y

Numeric vector of outcome, i.e. dependent variable

x.test

Numeric vector or matrix / data frame of testing set features Columns must correspond to columns in x

y.test

Numeric vector of testing set outcome

class.method

Character: Define "logistic" or "multinom" for classification. The only purpose of this is so you can try nnet::multinom instead of glm for binary classification

...

Additional arguments


egenn/rtemis documentation built on Dec. 17, 2024, 6:16 p.m.