Learn R Programming

rtemis (version 0.79)

s.LOGISTIC: Logistic Regression

Description

Convenience alias for s.GLM(family = binomial(link = "logit")).

Usage

s.LOGISTIC(x, y, x.test = NULL, y.test = NULL, family = binomial(link
  = "logit"), ...)

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

family

Error distribution and link function. See stats::family

...

Additional arguments