Learn R Programming

rtemis (version 0.79)

s.MULTINOM: 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

String: 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