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 Dec. 17, 2024, 6:16 p.m.