s_LOGISTIC: Logistic Regression

View source: R/s_GLM.R

s_LOGISTICR Documentation

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


egenn/rtemis documentation built on Oct. 28, 2024, 6:30 a.m.